one 中 的margin-left 是对哪个点 设置的呀 border设置的100px是对三角形的底边边长吗
#one
{
width: 0px;
height: 0px;
border-top: 100px solid transparent;
border-right: 100px solid transparent;
border-bottom: 100px solid green;
border-left:100px solid transparent ;
margin-left: 100px;
float: left;
}
#two
{
width: 0px;
height: 0px;
border-top: 200px solid transparent;
border-right: 200px solid transparent;
border-bottom: 200px solid green;
border-left:200px solid transparent ;
}
#three
{
width: 100px;
height: 200px;
background: gray;
margin-left: 150px ;
}