I was just wondering which browsers support css @import?

2 answers

1
point

@import was introduced nearly 14 years ago in CSS 1. As far as I know, it is fully supported by all modern browsers. If you're interested in ancient browser support for @import, it looks like IE started supporting it in version 4, Opera started supporting it in version 3.6, and Netscape supported it by version 6 at the latest. As far as I know, more recent browsers like Firefox, Safari, and Chrome have supported it for as long as they have existed.

Answered about 6 years ago by Michael Martin-Smucker
  • Yeah I'm barking up the wrong tree... Andrew J. Leer about 6 years ago
1
point

For optimised page speed you should use link over @import. This is because IE reads @import after all the other page content has loaded. A <link> to your CSS will load it first, and then style the content progressively as it downloads.

This is from Yahoo's best practices for speeding up websites:

http://developer.yahoo.com/performance/rules.html#csslink

Answered about 6 years ago by John Catterfeld