Answers for "if target doesnt have class"

CSS
1

apply css if class not present

.container:not(.container2) > .myDiv {
  color: red;
}
Posted by: Guest on August-31-2021

Code answers related to "if target doesnt have class"

Browse Popular Code Answers by Language