Posted By

dottDesign on 07/28/11


Tagged

css textmate


Versions (?)

Multiple borders (IE included)


 / Published in: Other
 

  1. div {
  2. -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#212121,direction=180,strength=0)"; /* IE 8 */
  3. filter: progid:DXImageTransform.Microsoft.Shadow(color=#212121,direction=180,strength=0); /* IE 7- */
  4. }
  5. div:before {
  6. position: absolute;
  7. top: 0px;
  8. width: 100%;
  9. height: 100%;
  10. border-top: 1px solid #212121; /* top border! */
  11. content: '';
  12. }
  13. div:after {
  14. position: absolute;
  15. width: 100%;
  16. height: 100%;
  17. top: 1px;
  18. border-bottom: 1px solid #212121; /* bottom border! */
  19. content: '';
  20. }

Report this snippet  

You need to login to post a comment.