0
Color picker values
How do i get the color or that little box inside the button and change the border radius? do i have ti get the value of the input or somethin https://code.sololearn.com/W5XExdexbNz4/?ref=app
3 Réponses
+ 1
The button with a little box inside it is the colour picker element. The little box's colour changes to the colour selected from the colour picker dialog.
Use 'onchange' attribute rather than 'onmousedown'. This way, the body background colour will be updated using the selected colour.
And what was that border-radius thing about?
+ 1
the button inside the box i want to have a border-radius: 5px;
0
I don't know how, or even if it was possible. At best I guess, you can set border-radius for the <input> element itself.
Maybe someone knows how, just wait ...