Custom Properties

124 bookmarks
Newest
Henry Desroches | Naming Variables In Style Code
Henry Desroches | Naming Variables In Style Code
Brad Frost Tweeted recently about a color variable naming problem, and rather than write a 69-Tweet thread about how I think about these sorts of problems, I figured I'd do a quick write-up on Tokenizing & Contextualizing in style code variables.
·henry.codes·
Henry Desroches | Naming Variables In Style Code
Theming With Variables: Globals and Locals | CSS-Tricks
Theming With Variables: Globals and Locals | CSS-Tricks
Setting CSS variables to theme a design system can be tricky: if they are too scoped, the system will lose consistency. If they are too global, you lose granularity. Maybe we can fix both issues. I’d like to try to boil design system variables down to two types: Global and Component variables. Global variables will give us consistency across components. Component variables will give us granularity and isolation. Let me show you how to do it by taking a fairly simple component as an example.
·css-tricks.com·
Theming With Variables: Globals and Locals | CSS-Tricks
CSS Variables 101
CSS Variables 101
CSS variables (AKA custom properties) have been supported in web browsers for almost four years. I like to use them depending on the project and the situatio...
·ishadeed.com·
CSS Variables 101
A Strategy Guide To CSS Custom Properties - MadeByMike
A Strategy Guide To CSS Custom Properties - MadeByMike
Dynamic properties provide opportunities for new creative ideas, but also the potential to add complexity to CSS. To get the most out of them, we might need a strategy for how to write and structure CSS with custom properties.
·madebymike.com.au·
A Strategy Guide To CSS Custom Properties - MadeByMike
Grundlagen zu CSS Custom Properties
Grundlagen zu CSS Custom Properties
In diesem Artikel möchte ich dir einen Einstieg in Custom Properties, auch bekannt als CSS Variablen geben. Wie funktionieren sie? Was sind die Vor- und Nachteile gegenüber Sass-Variablen? Und was musst du bei der Verwendung beachten?
·erdmann-freunde.de·
Grundlagen zu CSS Custom Properties
A Strategy Guide To CSS Custom Properties — Smashing Magazine
A Strategy Guide To CSS Custom Properties — Smashing Magazine
Dynamic properties provide opportunities for new creative ideas, but also the potential to add complexity to CSS. To get the most out of them, we might need a strategy for how we write and structure CSS with custom properties.
·smashingmagazine.com·
A Strategy Guide To CSS Custom Properties — Smashing Magazine