What is the best way to concatenate multiple CSS files into one CSS file?
I want to reduce the following ..
<link href="css/1.css" rel="stylesheet" type="text/css" media="all">
<link href="css/2.css" rel="stylesheet" type="text/css" media="all">
<link href="css/3.css" rel="stylesheet" type="text/css" media="all">
.. into ..
<link href="css/1-3.css" rel="stylesheet" type="text/css" media="all">
Simply doing cat css/*.css > css/1-3.css does not seem to do the trick.
As long as the ordering of the arguments for
catmatches the original ordering of the three referenced CSS files in the HTML file thecat-method should work as expected.So given say ..
.. the following concaternation ..
.. together will the following reference ..
.. should be 100 % identical.