Comment by natemwilson

Comment by natemwilson 2 months ago

4 replies

I’ve never seen any CSS function that has this call back style where you get parameters that you can modify. So interesting! Are there any other examples of this or is this unique to lch?

halflife 2 months ago

It may be confusing, but everything here is static param. The —- prefix is css variables, where inside a css declaration block you write: —bg: blue

KTibow 2 months ago

Some newer ones like calc-size are also like this.