Use a jade pattern with the doctype html
top.
Styles for input
and select
:
input, select {
...
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
Border radiusinput
shown correctly, but the border select
shows 5px, which is the value of the user agent, although research on the calculated tab shows that 3px from the style above should be applied.
How is it possible that my style seems to have been applied, but the calculated value and appearance of the selection does not match my style?
Please note that I am not trying to get rid of or reduce the down arrow, I just want my input
and select
had the same border-radius
, but while input
looking good, it's a strange problem occurs withselect
Dev , 5px
, .
.