Библиотека Stylus для короткой записи CSS-свойств
CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
HELP.md
README.md
ShortCSS.styl

README.md

ShortCSS

Библиотека Stylus для короткой записи CSS-свойств

Stylus:

body
  -bgc #000
  -c #fff

#content
  -ff sans-serif

#element
  -d block
  -w 150px
  -h 100px
  b-radius 7px
  -br 1px solid #eee

CSS:

body {
  background-color: #000;
  color: #fff;
}
#content {
  font-family: sans-serif;
}
#element {
  display: block;
  width: 150px;
  height: 100px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -o-border-radius: 7px;
  -ms-border-radius: 7px;
  -khtml-border-radius: 7px;
  border-radius: 7px;
  border: 1px solid #eee;
}