Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q5405 How do I import a CSS style sheet?

You are here: irt.org | FAQ | CSS | Q5405 [ previous next ]

There are 2 valid ways of importing style rules from other style sheets:

@import "faq.css";
@import url(myway.css);

So that browsers can avoid retrieving resources for unsupported media types, authors may specify media-dependent @import rules using the following code:

@import url(readable.css) print;
@import url(visual.css) projection, tv;

©2018 Martin Webb