Posted By

madr on 02/09/11


Tagged

css textmate SASS


Versions (?)

speakbubble


 / Published in: Other
 

  1. @mixin speakbubble($background: $blue3, $pointer: 14px) {
  2. background-color: $background;
  3. color: #fff;
  4. position: relative;
  5. border-bottom: 14px solid #fff;
  6.  
  7. &:before {
  8. content: '';
  9. border-left: $pointer solid $background;
  10. border-bottom: $pointer solid #fff;
  11. position: absolute;
  12. bottom: ($pointer * -1);
  13. left: 15px;
  14. }
  15. }

Report this snippet  

You need to login to post a comment.