Hello how can i draw a Triangle using CSS?

Possible Duplicate:
How does this CSS triangle shape work?

Please help me i need your suggestions.


For example:

.arrow-right {
    width: 0; 
    height: 0; 
    border-top: 60px solid transparent;
    border-bottom: 60px solid transparent;

    border-left: 60px solid green;
}

http://css-tricks.com/snippets/css/css-triangle/


Look HERE for instructions on how to use CSS to draw a triangle. Here is an example:

.arrow-right {
    width: 0; 
    height: 0; 
    border-top: 60px solid transparent;
    border-bottom: 60px solid transparent;

    border-left: 60px solid green;
}

CSS tricks can be found here

链接地址: http://www.djcxy.com/p/89500.html

上一篇: 我怎样才能回滚一个github库到特定的提交?

下一篇: 你好,我怎样才能使用CSS绘制一个三角形?