kshin98 Posted May 26, 2015 Share Posted May 26, 2015 (edited) While trying to learn importing font stuff, I saw that W3School's css reference page have the @font-face rule, but no @import rule. Has @import rule become obsolete technique that I should not use? Edited May 26, 2015 by kshin98 Link to comment Share on other sites More sharing options...
davej Posted May 26, 2015 Share Posted May 26, 2015 From what I've read it's simply an inferior method of importing a stylesheet, however JSG makes a valid point below... Link to comment Share on other sites More sharing options...
justsomeguy Posted May 26, 2015 Share Posted May 26, 2015 As far as I know it's the only way to import a stylesheet from within another stylesheet, is that correct? Link to comment Share on other sites More sharing options...
Ingolme Posted May 26, 2015 Share Posted May 26, 2015 I'm surprised to see they don't have it in the reference. Regardless of whether it's a good idea or not to use it, it's part of the CSS specification. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now