Answers for "how to use not in css"

CSS
11

css not class

/* Style everything but the .different class */
li:not(.different) {
  font-size: 3em;
}
Posted by: Guest on April-16-2020
5

css not

/* Selects any element that is NOT a paragraph */
:not(p) {
  color: blue;
}
Posted by: Guest on May-03-2021

Browse Popular Code Answers by Language