Custom Properties

124 bookmarks
Newest
Open Props UI | A modern CSS UI library
Open Props UI | A modern CSS UI library
CSS UI library leveraging the most modern features. Components you can copy and paste into your project.
·open-props-ui.netlify.app·
Open Props UI | A modern CSS UI library
Indirect Cyclic Conditions: Prototyping Parametrized CSS Mixins
Indirect Cyclic Conditions: Prototyping Parametrized CSS Mixins
In my quest to push forward what is possible with custom properties in CSS, I discovered another application of cyclic dependencies. Combined with a prior technique based on custom cascade layers, we are now even closer to something that resembles native CSS mixins.
·kizu.dev·
Indirect Cyclic Conditions: Prototyping Parametrized CSS Mixins
Pseudo-boolean CSS custom properties
Pseudo-boolean CSS custom properties
Exploring different techniques for toggling complex layout changes to a shadow DOM, using one or more pseudo-boolean CSS custom properties.
·keithclark.co.uk·
Pseudo-boolean CSS custom properties
CSS Variable Secrets | Lea Verou | CSS Day 2022
CSS Variable Secrets | Lea Verou | CSS Day 2022
By now most developers use CSS custom properties on the regular, but few understand them deeply enough to harness their full power. Lea will take you on a journey from the practical to the mind-blowing, and from the widely implemented to the cutting edge, demonstrating a host of tips, tricks, and gotchas relating to CSS variables in her trademark interactive style. You will leave this talk with both your CSS toolbox and your mind refreshed, and a much deeper understanding of CSS custom properties that you ever thought possible. Slides: https://projects.verou.me/talks/dynamic-css-secrets/ About Rety (live coding, without the stress): https://lea.verou.me/2022/07/rety/ About Lea: https://lea.verou.me Follow Lea: @LeaVerou or https://twitter.com/leaverou More about CSS Day: https://cssday.nl or https://twitter.com/cssdayconf Receive conference announcements in your inbox: https://cssday.nl/subscribe
·youtube.com·
CSS Variable Secrets | Lea Verou | CSS Day 2022
Layered Toggles: Optional CSS Mixins
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.
·kizu.dev·
Layered Toggles: Optional CSS Mixins
How Custom Property Values are Computed | Modern CSS Solutions
How Custom Property Values are Computed | Modern CSS Solutions
Review behaviors to be aware of regarding how the browser computes final custom property values. A misunderstanding of this process may lead to an unexpected or missing value and difficulty troubleshooting and resolving the issue.
·moderncss.dev·
How Custom Property Values are Computed | Modern CSS Solutions
Conditions for CSS Variables
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.
·kizu.dev·
Conditions for CSS Variables
GitHub - GoogleChromeLabs/postcss-jit-props: A CSS custom property helper based on PostCSS. Supply a pool of variables and this plugin will add them to the stylesheet as they are used.
GitHub - GoogleChromeLabs/postcss-jit-props: A CSS custom property helper based on PostCSS. Supply a pool of variables and this plugin will add them to the stylesheet as they are used.
A CSS custom property helper based on PostCSS. Supply a pool of variables and this plugin will add them to the stylesheet as they are used. - GitHub - GoogleChromeLabs/postcss-jit-props: A CSS cust...
·github.com·
GitHub - GoogleChromeLabs/postcss-jit-props: A CSS custom property helper based on PostCSS. Supply a pool of variables and this plugin will add them to the stylesheet as they are used.