this post was submitted on 15 Jul 2023
11 points (100.0% liked)
WebDev
1157 readers
11 users here now
Community for all things Web Development related.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I didn't either, before I looked it up. Apparently CSS lets you do an animation in "steps" instead of continuous movement. Then it's just applying that to the width of a div, and it creates the effect (along with alternating the transparency of the right border for the cursor).
Thanks for the explanation!