Skip to content
Css to LessCss converter
Ruby
Find file
Latest commit 427303c Apr 28, 2012 @sickill Info about license
Failed to load latest commit information.
.gitignore improved comments stripping Jul 3, 2009
README.md Info about license Apr 28, 2012
css2less.rb added guard for empty styles Jul 3, 2009

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.