Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Css to LessCss converter
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
css2less.rb

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.