E
E
evilelf2015-09-20 20:35:10
css
evilelf, 2015-09-20 20:35:10

Who will answer the multi-question on scss / sass?

Have a great Sunday evening everyone!
Struggling with questions:

  1. How to compile all files (*.scss) from a folder into the same names, but *.css
  2. How to compile all files from a folder into one styles.css
  3. How to compile some scss into 1 css file and some into another css file?
  4. How can I force the compiler to compress some files and not others? (I know about --style compressed)
  5. How can I force the compiler to move the end curly brace to another line?)))

Thanks everyone for the replies!
I think a lot of people will have questions like this.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
O
OnYourLips, 2015-09-20
@evilelf

gulp.

K
kirokydrive, 2015-09-20
@kirokydrive

For all this, there are such things grunt, gulp. Lots of video tutorials on them. Everything is simple and clear there.

M
Mr Crabbz, 2015-09-20
@Punkie

All your questions will be covered by prepros.io

D
dk-web, 2015-09-20
@dk-web

I can only talk about the first 3...
1) I use Gulp and the gulp-compass plugin - I recommend loftblog's video tutorial on installing and configuring it. Everything is clear there. loftblog.ru/tag/gulp-2
2-3) do subfiles as follows _file.scss(sass) and in the main file do import
For example:
_fonts.scss
_vars.scss
and you need two different output files.
front.css and admin.css Make
front.scss - only in it
Make admin.scss - in it only
Gulp will make you two different files with different content... in
short.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question