T
T
TimLee2015-03-03 00:20:07
css
TimLee, 2015-03-03 00:20:07

How to add css file inside scss file?

Is there a way to import as easy as @import base, but for css files?
Compass is not offered, Ruby is not on the machine. I am using grun-sass.
Of course, you can just copy, but I want to automate this process. For example, to automatically insert normalize.css into base.scss from the bower_components directory .

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
TimLee, 2015-03-05
@TimLee

The solution for now is to rename the file. Here is a short article on how to do it gracefully using Bower.
Also add an option to grunt-sass

includePaths: [ 'bower_components/normalize.css/' ],
to be really good.

N
Nikolay, 2015-03-03
@Dinfyru

@include url('style.css')

A
Andrey B., 2015-03-03
@andykov

@import "CSS:../../bower_components/normalize.css/normalize.css";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question