I want to remove the border around the color of input[type=color] in Firefox. I found solution for Chrome here (use ::-webkit-color-swatch in CSS) and I need it for Firefox
You can add border-color: transparent
to the input box.
It's similar to ::-webkit-color-swatch
.
::-moz-color-swatch {
border-color: red;
}
It would be better to make it common for all, Try this:
input[type="text"]{
border: none;
border-color: transparent;
}
or
If focus is on the input
field, Use this:
input[type="text"]:focus{
outline: none;
}
Post your code if this is'nt what you're looking for!
Update
Put your code inside ::-moz-color-swatch{ }