Pentagon


SUBMITTED BY: Guest

DATE: March 5, 2013, 8:54 a.m.

FORMAT: CSS

SIZE: 425 Bytes

HITS: 1500

  1. #pentagon {
  2. position: relative;
  3. width: 54px;
  4. border-width: 50px 18px 0;
  5. border-style: solid;
  6. border-color: red transparent;
  7. }
  8. #pentagon:before {
  9. content: "";
  10. position: absolute;
  11. height: 0;
  12. width: 0;
  13. top: -85px;
  14. left: -18px;
  15. border-width: 0 45px 35px;
  16. border-style: solid;
  17. border-color: transparent transparent red;
  18. }

comments powered by Disqus