display:-webkit-flex;
align-items: center;
justify-content:row;
align-items: center;
justify-content:row;
2014-12-24
老師您好,html代碼中選擇“男”的label拼錯(cuò)了額,css代碼里.box中的position,width也是。還有一點(diǎn)小建議,雖然與我們學(xué):checked選擇器沒(méi)關(guān),讓input的z-index=1高于span的z-inex是否更好些呢。。
2014-12-24
.nav li:before{
content:"";
position:absolute;
top:14px;
height:25px;
left:-1px;
width:1px;
background-image:linear-gradient(to bottom,#f65f57,#993333,#f65f57);
}
說(shuō)好的漸變呢,你們都不寫(xiě)
content:"";
position:absolute;
top:14px;
height:25px;
left:-1px;
width:1px;
background-image:linear-gradient(to bottom,#f65f57,#993333,#f65f57);
}
說(shuō)好的漸變呢,你們都不寫(xiě)
2014-12-23
/*使用偽元素制作導(dǎo)航列表項(xiàng)分隔線*/
.nav li:before{
content:'|';
color:#666;
position:absolute;
left:-1px;
}
/*刪除第一項(xiàng)和最后一項(xiàng)導(dǎo)航分隔線*/
.nav li:first-child:before{
content:'';
}
.nav li:before{
content:'|';
color:#666;
position:absolute;
left:-1px;
}
/*刪除第一項(xiàng)和最后一項(xiàng)導(dǎo)航分隔線*/
.nav li:first-child:before{
content:'';
}
2014-12-23
#brand:target p {
background: orange;
color: #fff;
}
background: orange;
color: #fff;
}
2014-12-23