/*使用偽元素制作導航列表項分隔線*/
.nav li:not(:first-child):before{ content: '';
position: absolute;
height:10px;
width: 1px;
top:0;
bottom:0;
left: 0;
margin: auto auto;
background: #999;
}
.nav li:not(:first-child):before{ content: '';
position: absolute;
height:10px;
width: 1px;
top:0;
bottom:0;
left: 0;
margin: auto auto;
background: #999;
}
2021-04-14
//使用偽元素制作導航列表項分隔線
.nav li:before{
content: '';
position: absolute;
height:10px;
width: 1px;
top:0;
bottom:0;
left: 0;
margin: auto auto;
background: #999;
}
//刪除第一項和最后一項導航分隔線
.nav li:first-child:before{
content:none;
}
.nav li:before{
content: '';
position: absolute;
height:10px;
width: 1px;
top:0;
bottom:0;
left: 0;
margin: auto auto;
background: #999;
}
//刪除第一項和最后一項導航分隔線
.nav li:first-child:before{
content:none;
}
2021-04-14
已采納回答 / qq_慕標0297594
因為你是在box1里插入的背景圖片,但是把overflow屬性寫到box2里。但如果把overflow寫到box1里,圖片高度沒有溢出bo1的高度所以也不會隱藏??梢灾苯影褕D片插入box2里,如果覺得這樣圖片不好看,可以試試把圖片作為一個單獨的元素用定位方式調(diào)整位置
2021-04-13
已采納回答 / 慕先生7352805
它可以是值 circle 或 ellipse。其中,circle 表示圓形,ellipse 表示橢圓形。默認值是 ellipse第一個去掉center就可以了,第二個由于是默認值,所以把ellipse? center去掉就好了
2021-03-24
已采納回答 / 慕田峪8131879
<!DOCTYPE?html><html?lang="en">??<head>????<meta?charset="UTF-8"?/>????<meta?http-equiv="X-UA-Compatible"?content="IE=edge"?/>????<meta?name="viewport"?content="width=device-width,?initial-scale=1.0"?/>????<title>...
2021-03-16
最贊回答 / 往事隨風_遇見最好的你
因為css3在歷史瀏覽器中會有不兼容的情況,所以-moz- 是兼容firefox火狐瀏覽器的-ms代表IE瀏覽器私有屬性;-webkit代表chrome、safari私有屬性;?-o代表Opera
2021-02-23
最新回答 / weixin_慕容6328546
href值是盒子的id,可以形成一個錨點。在一篇文章中,多個這樣的錨點組合起來就相當于書的目錄,當我點擊它時時,就可以跳轉到我需要的位置。
2021-01-22