M
M
Mary Solar2017-04-20 14:03:34
Sass
Mary Solar, 2017-04-20 14:03:34

How to import the contents of a .css file and not a link to it?

Good afternoon, colleagues.
I have the following task: I need to connect jquery.formStylerModern.css to the project.
The structure is this:
7aec7e65674b441789226f055f7737a7.png
I do it through @importthe sass file sass/libs.sass:
@import "../libs/jquery.formStylerModern.css"
Import happened:
@import url(../libs/jquery.formStylerModern.css);
But damn it, this shouldn't happen. All styles from jquery.formStylerModern.css should be imported, not just
@import url(../libs/jquery.formStylerModern.css);
I tried different ways, but only
@import "../libs/jquery.formStylerModern.css"
this one works. @import "/app/libs/jquery.formStylerModern.css"
Many thanks in advance for your help!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex Glebov, 2017-04-20
@MaryT

.css remove

F
Froggyweb, 2017-04-20
@Froggyweb

rename css to scss

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question