Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Css to LessCss converter
Ruby
Branch: master
Failed to load latest commit information.
.gitignore improved comments stripping
README.md Info about license
css2less.rb added guard for empty styles

README.md

css2less

Turns this

#foo {
  color: red;
}
#foo a {
  color: blue;
}

Into this

#foo {
  color: red;
  a {
    color: blue;
  }
}

Installation

sudo wget https://raw.github.com/sickill/css2less/master/css2less.rb -O /usr/local/bin/css2less
sudo chmod a+x /usr/local/bin/css2less

Usage

css2less style.css > style.less

License

MIT

Author

Marcin Kulik

Something went wrong with that request. Please try again.