Hello wonderful community of Stackoverflow,
Here is my CSS code:
.text:not(#overview > *) {
margin-top: 10px;
margin-bottom: 10px;
}
I am trying to apply a 10px top and bottom margin to everything with the class "text", except for elements marked with the ID "overview" and its children. However, the CSS doesn't seem to be working as intended.
Appreciate any assistance, Yasin