3

Possible Duplicate:
Difference between @import and link in CSS

I have a .css file which defines all the custom fonts, and I want to reference these fonts in other separate .css files for different pages.

What is the right way to do this? @import or load both .css files for each page?

Community
  • 1
  • 1
skyork
  • 6,111
  • 14
  • 55
  • 94

1 Answers1

1

I'm not sure if @import is a good way:

Difference between @import and link in CSS

You should choose the link before the @import for performance. You might want to take a look at LESS or SASS, like toxicate20 mentioned.

Good luck!

Community
  • 1
  • 1
Bananam00n
  • 805
  • 8
  • 26