According to Wiki from NCAA approved selectors.
According to Wiki from NCAA approved selectors.
Write nested selectors directly in CSS — just like Sass, but natively.
.card {
color: black;
&:hover { color: blue; }
.title { font-weight: bold; }
}
No preprocessor needed.
Learn more 👇
developer.mozilla.org/en-US/docs/...
Write nested selectors directly in CSS — just like Sass, but natively.
.card {
color: black;
&:hover { color: blue; }
.title { font-weight: bold; }
}
No preprocessor needed.
Learn more 👇
developer.mozilla.org/en-US/docs/...
Both selectors look similar but do different things. In this article we share our method for understanding what these selectors do.
polypane.app/blog/decodin...
Both selectors look similar but do different things. In this article we share our method for understanding what these selectors do.
polypane.app/blog/decodin...
⭐
IDS
RULES
CLASSES
ELEMENTS
SELECTORS
COMBINATORS
DECLARATIONS
PSEUDO-CLASSES
PSEUDO-ELEMENTS
CSS
💻
JS
CSS
HTML
FORMS
IMAGES
BROWSER
FRONTEND
DEVELOPER
WEB
⭐
IDS
RULES
CLASSES
ELEMENTS
SELECTORS
COMBINATORS
DECLARATIONS
PSEUDO-CLASSES
PSEUDO-ELEMENTS
CSS
You can now nest selectors directly in CSS.
It improves readability, keeps styles modular, and reduces repetition.
No preprocessor needed.
Learn more 👇
developer.mozilla.org/en-US/docs/...
You can now nest selectors directly in CSS.
It improves readability, keeps styles modular, and reduces repetition.
No preprocessor needed.
Learn more 👇
developer.mozilla.org/en-US/docs/...
Today: Ah, well, nevertheless
Today: Ah, well, nevertheless
Before and after profile of server switching after some selector optimizations in @discord.com
Before and after profile of server switching after some selector optimizations in @discord.com
How many selectors do you know for the HTML element? Only two, right? There are more!
It's time to discover the hidden selectors of the HTML element.
css-tip.com/root-selecto...
Are they useful? Probably not, but it's a fun exploration of CSS selectors. Did I miss a cool selector?
How many selectors do you know for the HTML element? Only two, right? There are more!
It's time to discover the hidden selectors of the HTML element.
css-tip.com/root-selecto...
Are they useful? Probably not, but it's a fun exploration of CSS selectors. Did I miss a cool selector?
Both group selectors to reduce repetition. The difference? :is() keeps specificity, :where() has zero specificity.
> :is(h1, h2, h3) { color: navy; }
> :where(h1, h2, h3) { margin: 0; }
Learn more 👇
developer.mozilla.org/en-US/docs/...
Both group selectors to reduce repetition. The difference? :is() keeps specificity, :where() has zero specificity.
> :is(h1, h2, h3) { color: navy; }
> :where(h1, h2, h3) { margin: 0; }
Learn more 👇
developer.mozilla.org/en-US/docs/...
`:is()` is such a great new-ish #CSS feature that helps eliminate repetition in selectors ✨
`:is()` is such a great new-ish #CSS feature that helps eliminate repetition in selectors ✨
Check brm.us/class-prefix... to get the details.
(Browser Support: None 😛 — just resolved!)
Check brm.us/class-prefix... to get the details.
(Browser Support: None 😛 — just resolved!)