Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 11th, 2012  |  syntax: CSS  |  size: 0.45 KB  |  views: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. @import "compass";
  2. @import "vars";
  3.  
  4. .rua-p-t {
  5.         font-size:13px;
  6.         line-height:1.4;
  7.         font-family:Tahoma;
  8. }
  9.  
  10. @mixin t {
  11.         @each $size in 10, 11, 12, 13, 14, 16, 18, 21, 24 {
  12.                 .rua-p-t_#{$size} {
  13.                         @extend .rua-p-t;
  14.                         font-size:#{$size}px;
  15.                 }
  16.                
  17.                 .rua-p-t_#{$size}_verdana {
  18.                         @extend .rua-p-t_#{$size};
  19.                         font-family:Verdana;
  20.                 }
  21.                
  22.                 .rua-p-t_#{$size}_arial {
  23.                         @extend .rua-p-t_#{$size};
  24.                         font-family:Arial;
  25.                 }
  26.         }
  27. }
  28.  
  29. @include t;
clone this paste RAW Paste Data