css selector except last child code example
Example 1: not last child css
p:not(:last-child) {
margin-bottom: 20px
}
Example 2: css selector every child except last
:not(:last-child)
Example 3: selecting last child css
p:last-child {
font-size: 0.75em;
}