简体   繁体   中英

how to style an arrow od select drop down box in html?

I only want to change arrow in select box with my own custom arrow without using any javascript and jquery. Any help?

i could not understand you clearly..

here is my thought and suggestion: html:

<div class="my_checkbox">
<input type="checkbox" value="None" id="my_checkbox" name="check">
<label for="my_checkbox"></label>
</div>

and the css:

.my_checkbox input[type=checkbox]:checked + label:after {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
}

for all: click me

You can't. It's rendered by the OS, not the browser. There are hack work-arounds using absolute positioning but the control itself cannot be reliably styled across browsers.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM