본문 바로가기

개발/팁

CSS Wishlist

@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; }