Apply a style to child elements that is not the first child
CSSTo apply a style to every child element that is not the first child :
.parent > *:not(:first-child) {
...
}
We can write it in a more shortcut way
.parent > * + * {
...
}
Back to Top