Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

css2sass

> 编程语言
Open source

Convert CSS Snippets to Syntactically Awesome StyleSheets code

304 stars0 likes2 views
WebsiteGitHub

About

Convert CSS Snippets to Syntactically Awesome StyleSheets code

css2sass

http://css2sass.heroku.com/

css2sass is a simple sinatra app which Convert CSS Snippets to Syntactically Awesome StyleSheets code.

It's heavily inspired by the html2haml app

Usage

  • Paste the CSS in the first box
  • click convert
  • Done!

API

json and xml.

Testing

See test/test_css2sass.rb

TODO

  • Flash warnings TODO:!
  • More tests.

Resources

  • Sinatra
  • SASS

Note on Patches/Pull Requests

Fork the project. Make your feature addition or bug fix. Add tests for it. This is important so I don’t break it in a future version unintentionally. Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull) Send me a pull request. Bonus points for topic branches.

Copyright

Copyright 2009 Jose Pablo Barrantes. MIT Licence, so go for it.

Issues· 3 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Ruby

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言