Reputation: 13712
The issue I'm having is that I need to add a second stylesheet to my web site. But I'd rather not update the 20+ HTML pages with a code. Is there any way to link from the existing stylesheet to another? That way I only change one page? The second stylesheet is a font from Google Fonts. Any help would be great!
Upvotes: 0
Views: 127
Reputation: 8588
You can use the @import
function in css. for example:
@import url("YOUR_CSS_FILE.css");
Upvotes: 1
Reputation: 3850
Sure, you can use @import.
http://www.cssnewbie.com/css-import-rule/
Upvotes: 1