css-variables
DRY Switching with CSS Variables: The Difference of One Declaration | CSS-Tricks
css
variables
css-tricks
css-variables
9 weeks ago by davilious
This is the first post of a two-part series that looks into the way CSS variables can be used to make the code for complex layouts and interactions less
9 weeks ago by davilious
Super-Powered Grid Components with CSS Custom Properties —CSS-Tricks “A little while ago, I wrote a well-received article about combining CSS variables with CSS grid to help build more maintainable layouts.”
september 2018 by jonathansick
Using css variables to change the grid within a media query.
css-variables
css-grid
september 2018 by jonathansick
A Strategy Guide To CSS Custom Properties — Smashing Magazine
may 2018 by myersg86
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.
CSS
webdesign
css-variables
custom
may 2018 by myersg86
A Strategy Guide To CSS Custom Properties — Smashing Magazine
may 2018 by RyanRoberts
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.
css
css-variables
may 2018 by RyanRoberts
A Strategy Guide To CSS Custom Properties
may 2018 by vaupeh
CSS Custom Properties (sometimes known as ‘CSS variables’) are now supported in all modern browsers, and people are starting to use them in production. This is great, but they’re different from variables in preprocessors, and I’ve already seen many examples of people using them without considering what advantages they offer.
Custom properties have a huge potential to change how we write and structure CSS and to a lesser extent, how we use JavaScript to interact with UI components. I’m not going to focus on the syntax and how they work (for that I recommend you read “It’s Time To Start Using Custom Properties”). Instead, I want to take a deeper look at strategies for getting the most out of CSS Custom Properties.
css
css-variables
css-custom-properties
Custom properties have a huge potential to change how we write and structure CSS and to a lesser extent, how we use JavaScript to interact with UI components. I’m not going to focus on the syntax and how they work (for that I recommend you read “It’s Time To Start Using Custom Properties”). Instead, I want to take a deeper look at strategies for getting the most out of CSS Custom Properties.
may 2018 by vaupeh
Ire Aderinokun på Twitter: ”Just discovered this neat trick to check if a browser supports CSS Variables @supports (color: var(--)) { ... } Notes: - Can use any property (i.e. not color) - Don't have to include an actual variable name, var(--) works Co
css tips css-variables feature-detection progressiveenhancement
march 2018 by VoxPelli
css tips css-variables feature-detection progressiveenhancement
march 2018 by VoxPelli