CSS Trick! ⭐️ You can animate your gradient borders by defining types for your custom properties…
@jh3yy149 тыс. подписчиков
258 918 просмотров
11 комментариев
Комментарии из оригинального поста в 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 отметок «Нравится»

@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 отметки «Нравится»

@ClaydenChambers
Now this really is something new to me.. banking this!
1 отметка «Нравится»

@shaunlevett
Succulent
1 отметка «Нравится»

@Conkur27
Long time no see thnx
1 отметка «Нравится»

@forreacting
Oh wow that looks cool I need this ..thankuuuuuu
1 отметка «Нравится»

@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 отметка «Нравится»

@jh3yy
Got jus' the thing you need 🤙
10 отметок «Нравится»

@ken_wheeler
Sheesh
1 отметка «Нравится»

@lileshjadav
Which tool was that for showing separate layers?
1 отметка «Нравится»

@jh3yy
Straight up CSS 🤙