Man Linux: Main Page and Category List

NAME

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

SYNOPSIS

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

DESCRIPTION

       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.

OPTIONS

       --from  Convert from filename.

       --to    Convert to filename.

       --in-place
               Convert in place. it will override the file.

       --recursive
               convert an entire directory of files.

       --dasherize
               Converts all underscores to hyphens.

EXAMPLES

       sass-convert --from sass --to scss

       sass-convert --in-place --from sass2 style.sass

       sass-convert --recursive --from sass2 --to scss stylesheets/

SEE ALSO

       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.

AUTHOR

       This     manual     page     was    written    by    Deepak    Tripathi
       <apenguinlinux@gmail.com>, 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.

                                 May 16, 2010                  sass-convert(1)