0:001:11
Post by jhey ʕ•ᴥ•ʔ
CSS Tip! ✨ You can use CSS container query units in your animations to create this glowy border button effect! 🎬 Watch the video for the exploding view breakdown 👀 @keyframes slide { to { translate: calc(100cqw - 100%) 0; } } .glows { container-type: size; } The "trick"
Why it is here
A glowing border button animated with container query units, with an exploded view showing how it works.
- Likes
- 1,9151.9K
- Replies
- 17
- All-time rank
- #74
- Week
- W442023
Went viral
Posted on X