Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

apply css if class not present

.container:not(.container2) > .myDiv {
  color: red;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #apply #css #class #present
ADD COMMENT
Topic
Name
7+6 =