Skip to content
Css to LessCss converter
Ruby
Branch: master
Clone or download

Latest commit

Latest commit 427303c Apr 27, 2012

Files

Permalink
Type Name Latest commit message Commit 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

You can’t perform that action at this time.