/*使用伪元素制作导航列表项分隔线*/
.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的高度所以也不会隐藏。可以直接把图片插入box2里,如果觉得这样图片不好看,可以试试把图片作为一个单独的元素用定位方式调整位置
                            
                        
                        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
                
             
             
        







