码迷,mamicode.com
首页 > Web开发 > 详细

html 圣诞树

时间:2017-02-24 19:35:03      阅读:172      评论:0      收藏:0      [点我收藏+]

标签:oct   20px   border   cond   height   white   ott   doctype   top   

<!DOCTYPE html>
<html>
<head>
<style>
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;
}
</style>
</head>
<body>
<div id="contain">
<div id="first"> </div>
<div id="second"> </div>
<div id="third"> </div>
</div>
</body>
</html>

html 圣诞树

标签:oct   20px   border   cond   height   white   ott   doctype   top   

原文地址:http://www.cnblogs.com/jiangger/p/6439708.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!