HTML5 Native Support Color Selector

Say something 2 years ago Lao Li next door Last edited on 2022-05-30 10:52:47

I know nothing about it. Recently, I learned that HTML5 supports ColorPicker natively.

Just set the type attribute of input to color.

For example:

 <input type="color" name="color" value="#3a6ea5">
This article is written by@ Lao Li next door Issued on 2022-05-30 at Yeluzi Blog , unless otherwise specified, all articles in this blog are original, please retain the source for reprinting.
comment (0)
 visitor
Top