Answers for "css not"

CSS
11

css not class

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

css not

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

opposite of :not css

$morphemes.not('[data-width]');
$morphemes.not(':not([data-width])'); //Double Negative logic, derp derp.
Posted by: Guest on December-07-2020

Browse Popular Code Answers by Language