Quantcast
Channel: Blumentals Software Community
Viewing all articles
Browse latest Browse all 1597

HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support • Re: Question: Export list of used CSS rules?

$
0
0
Hi everybody,

I'm sure I'm far from having checked out all of HTMLPad's features and I can't seem to find a solution to my problem in the help files and forums.

I'm working with CSS frameworks and as we all know we're never applying all CSS rules defined in a framework. Thus I'd like to delete all unused rules in the CSS file(s).

HTMLPad's code explorer is listing all used classes quite nicely. Now I'm wondering if there is a way to print or export this list of all those classes used in a HTML document so that I can comfortably compare them with all rules contained in the CSS file(s) to delete those that are not being used. Or maybe one of you knows an alternative 'best practise'?

I'm using HTMLPad 2022 (v17.3.0.244)

Regards,
Anke
Hey Anke77,

I totally get your situation. Unfortunately, HTMLPad doesn’t directly export a list of used CSS classes. However, you could use a tool like PurifyCSS or UnCSS to automatically identify and remove unused CSS rules, saving time.

Statistics: Posted by nita32 — Wed Nov 13, 2024 7:57 pm



Viewing all articles
Browse latest Browse all 1597

Trending Articles