Epic Web Conf 2024 - by Adam Argyle
Typed CSS variables using @property
Upgrade your CSS variables by registring them using the @property
Get the screen width & height without JavaScript
A few lines of CSS to get the screen width/height as integer values
CSS Custom Properties (vars) with SASS/SCSS, a practical architecture strategy
A practical strategy to deal with css custom properties on large sass/scss codebases
Layered Toggles: Optional CSS Mixins
In this article, I am sharing the next evolution of space & cyclic toggles, which allows us to create and apply optional mixins in CSS with the help of custom cascade layers, available today in every browser that supports them.
GitHub - mayank99/open-props-scss: open-props as sass variables
open-props as sass variables. Contribute to mayank99/open-props-scss development by creating an account on GitHub.
Offloading JavaScript With Custom Properties: HeydonWorks
CSS Custom Property Fallbacks in Shorthand Values
Using fallbacks for CSS custom properties for granular control of shorthand values.
CSS Custom Properties | 12 Days of Web
Also known as "CSS variables," this nifty modern CSS feature enables incredible flexibility throughout your stylesheets.
The --var: ; hack to toggle multiple values with one custom property • Lea Verou
Naming Variables In CSS
Conditions for CSS Variables
CSS variables are very powerful, and they allow to do a lot of interesting things. But there are no native conditionals that we could use in CSS with them. In this article I’ll talk about one of the ways we can fake such conditions with calculations.
CSS Custom Properties Beyond the :root · Matthias Ott – User Experience Designer
Matthias Ott is an independent user experience designer and developer from Stuttgart, Germany. Besides design practice he teaches Interface Prototyping at the Muthesius Academy of Fine Arts and Design, Kiel.
GitHub - oddbird/cascading-color-system: CSS Custom Property color-theming
CSS Custom Property color-theming. Contribute to oddbird/cascading-color-system development by creating an account on GitHub.
10 powerful ways to use CSS variables · 26. Januar 2023
Website for Adam Argyle: Teacher, Speaker, CSSWG member, and creator of Open Props and VisBug.
Creating A High-Contrast Design System With CSS Custom Properties — Smashing Magazine
Managing our colors can truly help people to access our content. In this article, Brecht de Ruyte takes a deep dive into how we can create a high-contrast system while maintaining a balance between designing something accessible and respecting the look and feel of a brand.
CSS Custom Properties (CSS Variables) Sample
Sample illustrating the use of CSS Custom Properties (CSS Variables).
CSS Custom Properties in a Sass project | CSS Custom Properties in a Sass project
CSS Custom Properties are great, and can be integrated into a Sass project in interesting ways.
Day 29: !important custom properties
The CSS Custom Property Toggle Trick | CSS-Tricks
Back in July 2020, I got an email from James0x57 (I always try to refer to people by their name, but I think I get the sense they prefer to go by screen name)
How to pass variables from one module into another without import · Issue #3257 · sass/sass
Howdy, this is related, but not identical, to issue #2890. I've read the Stack Overflow response but unfortunately, that's not satisfactory in my case. Fundamentally my goal is this...
bulbacss/postcss-var-optimize: PostCSS plugin to convert css variables that are not redeclared and remove duplicates
PostCSS plugin to convert css variables that are not redeclared and remove duplicates - bulbacss/postcss-var-optimize: PostCSS plugin to convert css variables that are not redeclared and remove dup...
What no one told you about CSS Variables
CSS Variables are great but do you know everything about them? In this post, I will highlight few...
The Dilemma of Naming Font Size Variables
Normally, a project will have a set of pre-determined font sizes, usually as variables named in such a way that seeks some semblance of order and
Custom Properties: Questioning “:root” · Frontend Dogma
This is Frontend Dogma, your source of frontend development vitamins.
Different Degrees of Custom Property Usage
One way to work with Custom Properties is to think of them as design tokens. Colors, spacings, fonts, and whatnot. You set them at the root of the page
Practical Use Cases For CSS Variables - Ahmad Shadeed
The goal of this article is to walk you through use-cases where CSS variables shine.
The Power of Composition with CSS Variables - Maxime Heckel's Blog
How leveraging CSS variable composition and HSLA colors helped me build a more efficient way to theme my apps and rely less on CSS-in-JS.
Global and Component Style Settings with CSS Variables — Sara Soueidan – Freelance-Front-End UI/UX Developer
Freelance Front-End Web UI/UX Developer - Lebanon
Getting JavaScript to Talk to CSS and Sass | CSS-Tricks
JavaScript and CSS have lived beside one another for upwards of 20 years. And yet it’s been remarkably tough to share data between them. There have been