I'm facing a challenge with styling the default
<input type="color">
element using CSS.
Let's assume I have the following HTML elements and corresponding CSS styling:
#myColorPicker {
border-radius: 50px;
}
<label for="myColorPicker">Select a color:</label>
<input type="color" name="myColorPicker" id="myColorPicker">
This code snippet changes only the outer rectangle's border-radius. Is there a way to also modify the inner rectangle's border-radius? By inner rectangle, I mean the colored box that displays the selected color.
It appears to be more complex than anticipated.
Appreciate your assistance!