How Does Minify CSS Work?


Simple - to compress the code so it loads faster

JSMin (The most popular CSS compression tool) is a filter which removes comments and unnecessary whitespace from CSS files. In most instances it reduces file size by 50%, resulting in faster page load times and less bandwidth usage.

CSS minifying is a filter that excludes or modifies some characters in your code. This does not change the behavior/functionality of the program/script that it is minifying. The compressed code may be harder to debug because it is bunched tonether, usually on one line - This is why we always recommend keeping a backup copy of your JS script to use in times where debugging is required.

Minifying CSS first replaces carriage returns ('\r') with linefeeds ('\n'). It replaces all other control characters (including tab) with spaces. It then replaces comments in the // form with linefeeds. It replaces comments in the /* */ form with spaces. All runs of spaces are replaced with a single space. All runs of linefeeds are replaced with a single linefeed.

Need help with Minifing your CSS code - Call Streamlined Fusion at (310) 765-7400


This site was created soley as an education tool by Streamlined Fusion - world leaders in
Custom Website Design and SEO Marketing.

Send Large Files Free

Anyone can send large files for free with Send unlimited files up to 2GB each.