> All in One 586: Supercharging Number Inputs

Ads

Friday, September 4, 2020

Supercharging Number Inputs

Speaking of number scrubbing (i.e. adding mouse UX to number inputs), you can also add better keyboard commands to number inputs. Kilian Valkhof explains how he added up and down arrows to a number input, as well as modifier keys to change how much the keys increment the value, like Emmet does.

This would make a nice little web component.

Direct Link to ArticlePermalink


The post Supercharging Number Inputs appeared first on CSS-Tricks.

You can support CSS-Tricks by being an MVP Supporter.



from CSS-Tricks https://ift.tt/2PIZSFm
via IFTTT

No comments:

Post a Comment

CSS Animations That Leverage the Parent-Child Relationship

Modern CSS has great ways to position and move a group of elements relative to each other, such as anchor positioning . That said, there are...