Purifycss at Website Design

Best website design Tips and References website . Search anything about website design Ideas in this website.

Purifycss. A function that takes content (html/js/php/etc) and css, and returns only the used css. It can work with any file — not just html or javascript.

PurifyCSS WordPress Plugin Getting started WebPerfTools
PurifyCSS WordPress Plugin Getting started WebPerfTools from www.webperftools.com

You can write to a new file, like minification. The source stylesheet which is to be purified. A function that takes content (html/js/php/etc) and css, and returns only the used css.

PurifyCSS WordPress Plugin Getting started WebPerfTools

If we're only making use of bootstrap's grid, we'll want to make sure style.css only contains bootstrap's grid classes and nothing else. Purifycss works well with wp rocket, w3 total cache, wp fastest cache etc. But the main flaw with purifycss is its lack of modularity. It can work with any file — not just html or javascript.