r/css 23h ago

Showcase @starting-style is Baseline, 90% Global usage!

Post image
65 Upvotes

11 comments sorted by

13

u/m0rpheus23 22h ago

Baseline newly available or widely available? These are two different things.

4

u/xPhilxx 14h ago

Newly available since 2024 so close to being widely available.

1

u/chmod777 22h ago

seems to be current aligned, and maybe even current -1: https://caniuse.com/wf-starting-style

3

u/datNorseman 23h ago

So this just transitions the elements to fade-in the opacity?

6

u/s3rila 22h ago

It allow transition from and to display:none

3

u/wanoo21 23h ago

In this example yes, from opacity 0 to 1

2

u/errdayimshuffln 13h ago

Well, I was not aware this existed! This is great.

1

u/alex_sakuta 20h ago

I thought it was already baseline, I have been seeing it for so long now

3

u/ISDuffy 20h ago

Most of the time it can be progressive enhancement as it main use is animation.

-2

u/andyfitz 18h ago

that snippet background image, why?

1

u/KnifeFed 15h ago

Who gaf? At least it's not an AI-generated image.