GitHub - coreyworrell/CSS-Compressor: Combines and compresses multiple CSS files into one streamlined file. · GitHub
Skip to content

About

Combines and compresses multiple CSS files into one streamlined file.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

CSS Compressor

Easily compress all your CSS files into one streamlined file.
This file strips your CSS of all unnecessary line breaks, spaces, and characters.

Usage

Example folder structure on server:

httpdocs
	- css
		- css.php
		- grid.css
		- reset.css
		- styles.css
	- js
	- img
	- index.html

You would include the css like normal, using a link tag.
Each file is seperated by a comma, and does not include the .css extension.

<link rel="stylesheet" type="text/css" href="css/css.php?reset,grid,styles" />

To include a file from a remote website works just the same:

<link rel="stylesheet" type="text/css" href="css/css.php?reset,grid,styles,http://mywebsite.com/css/global" />

About

Combines and compresses multiple CSS files into one streamlined file.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages