#customProperties

Emmanuel 🌱emmanuelc@mamot.fr
2025-06-12

Sujet #CSS bac philo

On s'accorde plutôt pour dire de ne pas utiliser de styles en ligne, idéalement ; dans un fichier externe c'est mieux.

Mais quid de styles qui ne sont que redéfinition de #CustomProperties dont l'application se fera dans le fichier externe ?

style="--maVar: 10rem;"

Autant une propriété style="width: 10rem;" est « auto-porteuse » et s'appliquera seule, sans CSS externe (ou en écrasant ce dernier), autant la redéfinition d'une custom propertie est « inerte » en elle-même.

Inautiloinautilo
2025-06-11


Partial keyframes · Creating dynamic, composable CSS keyframe animations ilo.im/164jry

_____

Learn JavaScript, React, and TypeScript to Node.js, Fullstack, and Backendfrontendmasters.com@web.brid.gy
2025-05-06
Inautiloinautilo
2025-04-23


CSS theme variables from a JS file · How to avoid redundant theme maintenance ilo.im/163gg9

_____

Nicolas Hoizeynhoizey@mamot.fr
2025-04-17

“CSS Custom Properties vs. Sass Variables: A Pragmatic Guide” by @sturobson

🔗 alwaystwisted.com/articles/css

> The interplay between Sass variables and CSS custom properties should be a strategic partnership. Over nearly a decade of evolving web practices, one truth persists: robust systems balance rigidity with adaptability. Sass anchors the immutable, CSS custom properties breathe life into any required fluidity.

#CSS #Sass #customProperties

⚓️ nicolas-hoizey.com/links/2025/

Screenshot of CSS Custom Properties vs. Sass Variables: A Pragmatic Guide
Inautiloinautilo
2025-04-12


Custom CSS functions in the browser · Start to experiment with author-defined functions ilo.im/163a5h

_____

Inautiloinautilo
2025-04-09


CSS custom properties vs. Sass variables · How you can combine both with a hybrid approach ilo.im/1637te

_____

Nicolas Hoizeynhoizey@mamot.fr
2025-04-08

“CSS Custom Properties vs. Sass Variables: A Pragmatic Guide” by @sturobson

🔗 alwaystwisted.com/articles/css

> The interplay between Sass variables and CSS custom properties should be a strategic partnership. Over nearly a decade of evolving web practices, one truth persists: robust systems balance rigidity with adaptability. Sass anchors the immutable, CSS custom properties breathe life into any required fluidity.

#CSS #Sass #customProperties

⚓️ nicolas-hoizey.com/links/2025/

Screenshot of CSS Custom Properties vs. Sass Variables: A Pragmatic Guide
Frontend Dogmafrontenddogma@mas.to
2025-03-25
Frontend Dogmafrontenddogma@mas.to
2025-03-20

Custom Property Fallbacks, by @matthewmorete.com (@frontendmasters.com):

frontendmasters.com/blog/custo

#css #customproperties

Inautiloinautilo
2025-03-09
Inautiloinautilo
2025-03-06


Custom properties in shorthand properties · Why you need to be cautious with this approach ilo.im/162o2u

_____

Inautiloinautilo
2025-03-04


Functions in CSS?! · ”Functions will bring an enormous change to CSS.” ilo.im/162m9r

_____

Inautiloinautilo
2025-02-12


Style Observer · A bulletproof library to observe CSS property changes ilo.im/162be5

_____

Inautiloinautilo
2025-02-01


Full-bleed layout with modern CSS · Edge-to-edge sections with minimal code ilo.im/1621v3

_____

Inautiloinautilo
2025-01-29


Pure CSS mixin to show custom property values · It can output various values as pseudo-elements ilo.im/1621iu

_____

Inautiloinautilo
2025-01-23


New capabilities for CSS ‘attr()’ · References to HTML attributes are getting more powerful ilo.im/161yw8

_____

Inautiloinautilo
2025-01-20
Inautiloinautilo
2025-01-16


CSS ‘attr()’ gets an upgrade · Chrome 133 unlocks new features for the ‘attr()’ function ilo.im/161ump

_____

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst