How to Scan and Remove Unused CSS Properties | PurgeCSS Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I loved this tutorial: simple and to the point, only focusing on PurgeCSS without complicating things with other tools.

qumbiaweb
Автор

Now, instead of --out is -o.

As the documentation of PurgeCss tells it is : -o
and it is not: -out anymore

Thanks, for the video it was very useful ))

juanortegaa
Автор

Thats literally my task in work now... Dude youre angel from the sky lol

Zoyar
Автор

Update this content, it is no longer `--out` but rather `--output`

i-am-oi
Автор

This looks very useful! Thanks for sharing!

xlazarus
Автор

purgecss --css style.css --content *.html --output result

With new version using output not out



:D

tiendungdev
Автор

finally made it work, thank you! I wonder how to do it with html files that has the same name and there are in folders. I generated cache files in my WP site but they all index.html and in different folders. Thank you!

jarosk
Автор

I get the output only in the console, not as a file even though I specified --out result. What's wrong?

AyeAyeMon
Автор

I like this tool but be careful it does remove the css that you actually use like sticky menu

nickcodes
Автор

It just removed the scrollbar style, because it didn't find the selector in the html i guess

nakshi_ashik
Автор

there is a problem like this.css file unused when I remove the name of the css file changes and comes out again in the console. example /min/7b8c0.css this file changes to different name but there are still unused parts

Автор

I am using it with gulp and my output css only contains classes not CSS

navanshu
Автор

Didn't work with my react project.

aaron___
Автор

can i remove unused javascript anyway?

mosharrafhossain
Автор

How do you save your own website's html file and css file??

kenny
Автор

Can I use it on remote server? Not locally.

john.de
Автор

is there a way to run your program on wordpress folder/theme?

sessionale
Автор

how to remove unused code in jquery-3.5.1.slim.min.js

heydariomid
Автор

which one is better, purifycss or purgecss?

GuaxinimDosParanaue
Автор

please can you explan me how it is made??

armandboutchouang