好像我的代码禁止在移动版本上显示,有人帮助我。 我一直在写一些代码,将箭头添加到下拉列表选项栏中,谷歌浏览器可以正常工作,但无法显示移动版本,是不是有问题?
也可以通过手机查看:http://amore2.voodooblowfish.com/classinfo/ Screen shot of desktop version
.selectdiv {
position: sticky;
display: block;
}
/*To remove button from IE11, thank you Matt */
select::-ms-expand {
display: none;
}
.selectdiv:after {
content: '>';
font: 20px "Consolas", monospace;
color: #333;
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
right: 11px;
display: inline;
/*Adjust for position however you want*/
top: 18px;
padding: 0 0 2px;
border-bottom: 1px solid #999;
/*left line */
position: absolute;
pointer-events: none;
}
.selectdiv select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
/* Add some styling */
display: inline;
}