in 'select' element i haven't added border property in CSS of it , and also i have added following CSS in it
.select
{
-webkit-appearance: none;
-webkit-border-radius: 0px;
}
though its showing me round border in Chrome (Mac OS),why it is so ,how can i get over it ?
-webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; This will override any border radius css.
You can update css appearance
property.
.select{
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
-webkit-border-radius: 0; /* Safari 3-4, iOS 1-3.2, Android 1.6- */
-moz-border-radius: 0; /* Firefox 1-3.6 */
border-radius: 0; /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
}
Though its a old question. I tried by keeping arrow on the right side.
select {
color: #fff;
background: #17406B;
border: solid 7px #17406B;
outline: #17406B solid thick;
outline-offset: -5px;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With