Skip to content

clebail/compresscss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compresscss is just a simple css compressor

To compile:

make

To compress:

./compress <input file> <output file>

For example, with the test.css file, It will compress

           body 							{







		padding-top: 									89px   ;
}
/*
 * Un commentaire sur 3 lignes
 */

html {}

.truc {
	padding: 10px;
}

.truc:before {
	content: '/* Contenu méchant !!! */ \' ';
}

.truc                           :before {
        margin:                        789px;
}

.truc                                                                                                   a {
        text-decoration: underline;
}


.trux a span																						{
		width: calc(100%+2px);
}

/* Un commentaire sur une ligne */

In:

body{padding-top:89px}.truc{padding:10px}.truc:before{content:'/* Contenu méchant !!! */ \' '}.truc :before{margin:789px}.truc a{text-decoration:underline}.trux a span{width:calc(100% + 2px)}

About

C program to compress css

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published