Dave's Brain

Browse - Programming Tips - How to I import the contents of one CSS file into another?

Date: 2008oct30
Language: css

Q.  How to I import the contents of one CSS file into another?

A.  Do:

@import url("/styles/headings.css");
before anything else in your .css file. There is also an include-source directive but it doesn't help for this.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.