Why is @import not working properly?

Asked

Viewed 344 times

6

I’m trying to import one CSS into another but it’s not working, the directory structure is like this:

css style.
css/agoravou.css

But the command is not working @import url('css/agoravou.css') screen;.
Does anyone know what it can be?

  • 1

    @import has to be the first thing in your CSS file, if it doesn’t, it doesn’t work. It’s the first thing in your?

1 answer

1


The @import needs to be on the first line of the file.

But it can also be some problem with the folder permissions css.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.