已采纳回答 / qq_杀不死的Q宠_03695344
.header .banner ul li .banner_1{ background:url(../images/1.jpg); }你这里写的.banner_1是一个li标签的class,不是li的后代,把li删掉试试.header .banner ul .banner_1{ background:url(../images/1.jpg); }
2016-09-19
已采纳回答 / 风骚小王子
想要页面出现设置的样式,必须在html代码中链接你的Css代码,可以使用嵌入式,在你html的head标签中加入<link href="../css/practice.css" rel="stylesheet" type="text/css"/>,href后面跟的就是你css文件的地址
2016-09-15
最新回答 / pc已经有人有3949117
.search>form>input[type=text]{border-radius:40px; width:170px; height:30px; line-height:30px; outline:none; text-indent:5px; font-family:"微软雅黑"; font-size:14px; color:#bfbfbf; behavior:url(borderradius.htc); border:none; border:1px solid #666...
2016-09-13