CSS Wishlist

2011. 12. 21. 19:16개발/팁

@vars
{
  $white:#fff;
  $base:#000;
  $back:url(/graphics/background.jpg) top left no-repeat;
  $font:Helvetica;
}

/* and used like */

.my-div      { background:$back; color:$base; font-family:$font; border:1px solid $white; }