#Development
PerformanCSS · “How CSS relates to web performance is a funny dance.” https://ilo.im/162uqq

_____
#CSS #CustomProperty #DOM #Rendering #Browser #WebPerf #WebDev #Frontend

Chris’ Corner: PerformanCSS – CodePen

#Development #Previews
CSS Custom Functions are coming · “They are going to be a game changer.” https://ilo.im/1629uu

_____
#ModernCSS #CustomFunction #CustomProperty #Chrome #Browser #WebDev #Frontend #CSS

CSS Custom Functions are coming … and they are going to be a game changer!

Chrome is currently prototyping CSS Functions, which is very exciting!

Bram.us

#Development #Techniques
Sharing a variable across HTML, CSS, and JS · How to make use of a variable in three languages https://ilo.im/161qol

_____
#Grid #Layout #HTML #CSS #JavaScript #CustomProperty #CssGrid #WebDev #Frontend

Sharing a Variable Across HTML, CSS, and JavaScript – Frontend Masters Boost

Set a variable in Pug, then create an inline script which sets that variable for using in JavaScript and use setProperty to pass it to CSS.

#Development #Findings
Benchmarking the performance of CSS @property · Regular vs. registered vs. unregistered custom properties https://ilo.im/160as3

_____
#ModernCSS #Benchmark #CustomProperty #Browser #WebPerf #WebDev #Frontend #CSS

Benchmarking the performance of CSS @property  |  Articles  |  web.dev

What impact does @property have on the performance of your CSS?

web.dev

#Development #Approaches
How I build a button component · A set of button component instances with their variants https://ilo.im/160525

_____
#Button #Icon #Typography #Interactivity #SemanticHTML #WebDev #Frontend #HTML #CSS #CustomProperty

How I build a button component

A button is arguably the most likely component to find itself in your codebase so I’m going to show you how I approach building one.

Piccalilli

#Development #Techniques
CSS split effects without content duplication · A little ride through the land of fun split effects https://ilo.im/1602pn

_____
#ModernCSS #Effects #Slider #Image #Content #WebDev #Frontend #SVG #CSS #CustomProperty

Split Effects with no Content Duplication – Frontend Masters Blog

The `clip-path` property with the `inset()` shape makes for some cool design opportunities. Here we'll expand on some existing ideas, improving them by not requiring any content duplication.

#Development #Techniques
CSS @property and the new style · Custom property definitions unlock countless opportunities https://ilo.im/15zzg2

_____
#ModernCSS #CustomProperty #Browser #WebDev #Frontend #CSS

CSS @property and the New Style

An exploration of the newly supported at-rule for explicitly defining and animating custom properties in CSS.

Captured Custom Properties

In a few of my latest CSS experiments and articles, I used one naming pattern for registered custom properties that I think worth highlighting in a separate blog post. This pattern allows us to create a set of generic custom properties, covering a wide set of use cases for computing and storing their values.

#Development #Techniques
Relative color syntax: basic use cases · “It’s an extremely powerful way to manipulate colors in CSS.” https://ilo.im/15zrws

_____
#Color #ColorPalette #BrowserSupport #Browser #WebDev #Frontend #CSS #CustomProperty

Relative Color Syntax — Basic Use Cases – Frontend Masters Boost

Support for the relative color syntax in CSS is across the board now (go interop!), so here we look at some basic (and still very useful) use cases, like applying alpha to a color you have on hand.

#Development #Techniques
External, styleable, and scalable SVGs · SVG embeddings that leave little to be desired https://ilo.im/15zn1a

_____
#VectorGraphic #SVG #Embedding #WebPage #WebDev #Frontend #HTML #CSS #CustomProperty

Have It All: External, Styleable, & Scalable SVG | Scott Jehl, Web Designer/Developer

Let's revisit an ideal SVG embedding approach.