Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Css to LessCss converter

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 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.