zom*_*dar 0 html css html-datalist
所以现在我有一个简单的datalist下拉菜单,我想更改它的CSS,以便样式与网站上的其他字段匹配。但是我是一个网页设计的菜鸟,我有点困惑,以完成此过程。
请参阅:http : //jsfiddle.net/ryax5L29/20/
<input list="ServiceCity">
<datalist id="ServiceCity" name="ServiceCity"class = "atl_services">
<option value "" disabled selected>Select City/County</option>
.......other values
</datalist>
Run Code Online (Sandbox Code Playgroud)
这是我要使用的CSS
input{
padding: 7px;
outline: none;
max-width: 100%;
margin-bottom: 5px;
border-width: 1px;
border-style: solid;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px
width: 88.5%;
border: 1px solid GREY;
box-shadow: 0px 0px 3px GREY;
}
Run Code Online (Sandbox Code Playgroud)
我也有CSS,imo内联CSS是最容易的,但是如果有人可以指导我,那将非常感谢!