Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

css: how to combine multiple stylesheets into one

Tags:

css

Does anyone know on how to combine multiple stylesheets into one? For example I have

<link rel="stylesheet" type="text/css" href="abc.css" />
<link rel="stylesheet" type="text/css" href="efg.css" />
<link rel="stylesheet" type="text/css" href="hij.css" />

in mysite.html. How can I combine the above 3 stylesheets into one?

thank you.

like image 260
vaanipala Avatar asked Jan 15 '23 21:01

vaanipala


1 Answers

You can combine your css files using YUI Compresser, that combines CSS and minimizes code and is good for performance.

Take a look here, for Combining CSS files into one.

like image 83
Next Door Engineer Avatar answered Feb 16 '23 23:02

Next Door Engineer