tags:

views:

44

answers:

1

Is it possible call another external CSS file from external CSS file?

+5  A: 

Yes, like so:

@import "relative/path/to/css.css";
Jakub Hampl
Is this considered as good practice?
sshow
I would say that `link` is considered better practice. `@import` does not download the imported files in parallel to everything else, where as `link` does. Use `link` for improved page performance. See http://stackoverflow.com/questions/1478997/import-or-link-for-importing-stylesheets for more.
akamike
Akamike is right. But sometimes `@import` does come in handy.
Jakub Hampl