not last child in css 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)
p:not(:last-child) {
margin-bottom: 20px
}
:not(:last-child)