Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: 337472 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)


sass-convert - Transforms a CSS file into corresponding Sass code.


sass-convert [options] [INPUT] [OUTPUT]


Transforms a CSS file into corresponding Sass code it used to be known as css2sass.It now uses a full-fledged CSS3 parser. so it should be able to handle any valid CSS3, as well as most hacks and proprietary syntax. sass-convert can now convert between Sass and SCSS. This is normally inferred from the filename, but it can also be specified using the --from and --to flags. it is also possible to convert a file in-place.


Convert from filename.
Convert to filename.
Convert in place. it will override the file.
convert an entire directory of files.
Converts all underscores to hyphens.


sass-convert --from sass --to scss
sass-convert --in-place --from sass2 style.sass
sass-convert --recursive --from sass2 --to scss stylesheets/


This program is shipped as part of the libhaml-ruby1.8 library package, you can check its corresponding documentation can be found in the libhaml-ruby-doc package.


This manual page was written by Deepak Tripathi <>, based on the command-line output of this program, for the Debian GNU/Linux system (but may be freely used by others). Examples are taken from project's homepage.
Ce n'est pas un grand malheur d'obliger des ingrats,
mais c'en est un insupportable d'être obligé à un malhonnête homme.
-+- François de La Rochefoucauld (1613-1680), Maximes 317 -+-