csstidy
This is a demonstration of the css minifier using csstidy class
Input css:
Output:
/*!
* This is an "important" comment
* 'Date: 27-27'*/
@keyframes animating {
0%{top:-50px;opacity:0}
4%{top:20px;opacity:1}
}
.rot{transform:rotate(-10deg);padding:10px 10px 20px 20px}
.wrapper{grid-template-columns:185px 1fr 1fr;grid-template-rows:auto auto auto auto 1fr auto;grid-template-areas:"header header header" "heading heading heading" "foot foot foot"}
input.admin[type='search']{width:calc(100% - 4px)}
@media screen and (max-width:1600px) {
.headlines,.sidebar{width:calc(100% - 40px)!important;background-color:#000;color:#c98e8e}
}
.rot{margin:0;xcolor:red}
Minify time: 0.0099 seconds; 576 bytes 56.47% of original size (from 1020 bytes).