css绘制特殊图形基础

1.等腰三角形

.isosceles{
width:;
height:;
border:30px solid;
border-left-color: transparent;
border-right-color: transparent;
border-top-color: transparent;
border-bottom-color: red;
}

2.直角三角形

.right{
width:;
height:;
border:30px solid;
border-left:;
border-right-color: transparent;
border-top:;
border-bottom-color: red;
}

3.圆

.round{
width: 100px;
height: 100px;
background-color: red;
border-radius:50%;
}

4.椭圆

.ellipse{
width: 100px;
height: 80px;
background-color: red;
border-radius:50%;
}
上一篇:maven - 引用本地jar,进行jar包移动


下一篇:UVa-Where's Waldorf?