display:-webkit-flex;
align-items: center;
justify-content:row;
align-items: center;
justify-content:row;
2014-12-24
老師您好,html代碼中選擇“男”的label拼錯了額,css代碼里.box中的position,width也是。還有一點小建議,雖然與我們學:checked選擇器沒關,讓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);
}
說好的漸變呢,你們都不寫
content:"";
position:absolute;
top:14px;
height:25px;
left:-1px;
width:1px;
background-image:linear-gradient(to bottom,#f65f57,#993333,#f65f57);
}
說好的漸變呢,你們都不寫
2014-12-23
/*使用偽元素制作導航列表項分隔線*/
.nav li:before{
content:'|';
color:#666;
position:absolute;
left:-1px;
}
/*刪除第一項和最后一項導航分隔線*/
.nav li:first-child:before{
content:'';
}
.nav li:before{
content:'|';
color:#666;
position:absolute;
left:-1px;
}
/*刪除第一項和最后一項導航分隔線*/
.nav li:first-child:before{
content:'';
}
2014-12-23