I have existing project which is being used 300 css files and now the requirement is to convert it from css to SCSS.
Requesting your help on this, if some one shed some light it will be great full..
Online Tools
i have tried converting through online but it will lag too many hours to do, so finding some good idea / suggestion which can be done with script.
Thanks !!
Ruby gem sass
contains sass-converter
utility, so you can use them.
Docs:
The sass-convert executable converts between CSS, Sass, and SCSS. When converting from CSS to Sass or SCSS, nesting is applied where appropriate. See sass-convert --help for further information and options.
bundle exec sass-convert ...
See sass-convert --help
for further information and options.
Source file from github. Readme .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.