CSS by T. Afif :verified: on Nostr: 💡 CSS Tip! Create a glowing border animation around your image (or any element) ...
💡 CSS Tip!
Create a glowing border animation around your image (or any element) using a few lines of code and modern CSS (single element as usual).
The cool part? The border smoothly returns to its initial position when the mouse leaves the element regardless of the number of turns! 👀
Demo: via
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq9qceztjxtkkj8qd6d5x0ya3r9whzyu9yljdv0f6jw8y8v704dxmq3xnmhh (nprofile…nmhh)
Online Version: https://css-tip.com/glowing-border/
#CSS #HTML
Create a glowing border animation around your image (or any element) using a few lines of code and modern CSS (single element as usual).
The cool part? The border smoothly returns to its initial position when the mouse leaves the element regardless of the number of turns! 👀
Demo: via

Online Version: https://css-tip.com/glowing-border/
#CSS #HTML