Skip to content

wildcn/css2less

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

css2less

目前不支持@media,会报错!

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

About

Css to LessCss converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%