简介这篇文章主要介绍了html 圣诞树(示例代码)以及相关的经验技巧,文章约1263字,浏览量499,点赞数8,值得推荐!
div{
width:0px;
height:0px;
background: white;
}
#first{
border-top: 100px solid white;
border-right: 100px solid white;
border-bottom:100px solid green;
border-left: 100px solid white;
float:left;
}
#second{
width:0px;
height:100px;
border-top: 100px solid white;
border-right: 100px solid white;
border-bottom:100px solid green;
border-left:100px solid white;
}
#third{
width:20px;
height: 200px;
margin-left: 90px;
background: green;
}