Limiting input type=”color” to a certain palette (from an image) | Christian Heilmann
I never thought of combining the datalist
element with input type="color"
—it’s pretty cool that it just works!
I never thought of combining the datalist
element with input type="color"
—it’s pretty cool that it just works!
Lea wasn’t happy with the lack of styling and extensibility of the datalist element, so she rolled her own lightweight autocomplete/type-ahead widget, and she’s sharing it with the world.
This is wonderful stuff! I’m a big fan of the datalist
element but I hadn’t realised how it could be combined with input
types like range
and date
.
So nifty!