热99在线视频Iav网站免费线看精品I国产精品久久久久久一二三四五I激情综合久久Iav在线不卡观看I亚洲免费av网站I麻豆视频91

css繪制特殊圖形基礎

2016/10/14 8:31:13   閱讀:1851    發布者:1851

1.等腰三角形

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

2.直角三角形

.right{ 
    width: 0; 
    height: 0; 
    border:30px solid; 
    border-left: 0; 
    border-right-color: transparent; 
    border-top: 0; 
    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%;    
}