You can also link to an external style sheet by using the @import rule. Here’s a demonstration:
This example uses the method but includes the @import notation. It’s very straightforward: Plug in the @import rule followed by the url(), which may contain an absolute or relative path.
Tip | The @import method is not supported by older browsers, and it is sometimes used as a hack to hide styles from browsers that would crash horribly if these styles were present. One such browser is Netscape Navigator 4, which has horrible CSS support and has been known to lock up when certain styles are present. |
No comments:
Post a Comment