Concatenate multiple CSS files into one -


What is the best way to add multiple CSS files to a CSS file?

I want to reduce the following ..

  & lt; Link href = "css / 1.css" rel = "stylesheet" type = "text / css" media = "all" & gt; & Lt; Link href = "css / 2.css" rel = "stylesheet" type = "text / css" media = "all" & gt; & Lt; Link href = "css / 3.css" rel = "stylesheet" type = "text / css" media = "all" & gt;  

.. in ..

  & lt; Link href = "css / 1-3.css" rel = "stylesheet" type = "text / css" media = "all" & gt;  

Just do cat css / *. Css & gt; CSS / 1-3.css does not move.

Long because cat -method has three referenced CSS in HTML file Order matches the arguments for the cat from the original order of files

  Lt; Link href = "css / one.css" rel = "stylesheet" type = "text / css" media = "all" & gt; & Lt; Link href = "css / two.css" rel = "stylesheet" type = "text / css" media = "all" & gt; & Lt; Link href = "css / three.css" rel = "stylesheet" type = "text / css" media = "all" & gt;  

.. The following intercourse ..

  Cat CSS / One CSS CSS / Two CSS CSS / Three CSS & gt; Css / all.css  

.. The following reference will be done simultaneously ..

  & lt; Link href = "css / all.css" rel = "stylesheet" type = "text / css" media = "all" & gt;  

.. should be 100% equal.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -