CSS Trick! ⭐️ You can animate your gradient borders by defining types for your custom properties…
@jh3yy149K followers
258,918 views
11 Comments
Comments from the original post on X (Twitter)

@jh3yy
Here's that @CodePen link! 🚀 (Which I may or may have not forgotten to post yesterday 👀) Got the "Final boss" border demo that people have been asking for tomorrow 🤞😅
14 likes

@crswll
I think with this and :has I'll be pretty happy for a while. If I get a :stuck for position: sticky I will dance in the street.
2 likes

@ClaydenChambers
Now this really is something new to me.. banking this!
1 like

@shaunlevett
Succulent
1 like

@Conkur27
Long time no see thnx
1 like

@forreacting
Oh wow that looks cool I need this ..thankuuuuuu
1 like

@HgSieo
Yeah i tried it too to animate some buttons, works fine on nearly square items, as soon as you do more rectangle shapes, the animation seems to slow down on the corners and the shorts edges... Any tips on how to bypass that ? gg anyway !
1 like

@jh3yy
Got jus' the thing you need 🤙
10 likes

@ken_wheeler
Sheesh
1 like

@lileshjadav
Which tool was that for showing separate layers?
1 like

@jh3yy
Straight up CSS 🤙