Posted By

realpeterz on 06/08/11


Tagged

css triangle


Versions (?)

CSS3 triangle


 / Published in: CSS
 

  1. div.triangle{
  2. height:0px;
  3. width: 0px;
  4. border-style: solid;
  5. border-color: transparent transparent green black;
  6. border-width:100px;
  7. }
  8.  
  9. div#two {
  10. margin-top: 20px;
  11. border-color: #f0f0f0 #ccc #585858 #aaa;
  12. }

Report this snippet  

You need to login to post a comment.