Posted By

madr on 02/09/11


Tagged

css textmate SASS


Versions (?)

folded heading


 / Published in: Other
 

  1. @mixin folded ($size: 10px, $y: 30px, $background: $grey4) {
  2. line-height: $y;
  3. height: $y;
  4. margin-left: ($size * -1);
  5. text-indent: $size;
  6. position: relative;
  7.  
  8. &:before {
  9. border-left: $size solid $pagebg;
  10. border-top: $size solid darken($background, 80%);
  11. float: left;
  12. content: '';
  13. position: absolute;
  14. bottom: ($size * -1);
  15. left: 0;
  16. }
  17. }

Report this snippet  

You need to login to post a comment.