Answers for "if nody has not class css"

CSS
1

apply css if class not present

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

Browse Popular Code Answers by Language