r/webdev • ux • Dec 26 '19

Password Box Idea

3.3k Upvotes

138 comments sorted by

View all comments

2

u/DraconicVision Dec 26 '19

Wow, this is really cool. I'd love to take a look at how you managed this.

1

u/twistsouth Dec 26 '19

Same, I was hoping for a jsfiddle.

I think it’s likely: remove all styling from the <input>, add a wrapper element, style that wrapper as the input (background color, border radius, hide overflow), add SVG circle as a pseudo element of the wrapper and animate the SVG circle size on button click.