I have made a template and then some copies of it. The I have derived a couple of new templates from the copies. Instead of writing new stylesheets from scratch, I made only some changes in new templates. Now I can't remember all changes made and there are many redundant classes/IDs there. The templates work fine but the remnants make them needless big.
There are many application on the internet promising effective scanning and removing unnecessary selectors from stylesheets. But - in reality - none of them makes what I expect.
Does anybody know a tool for such inspection/cleaning?
Clearing stylesheet
Moderator: mikey
Clearing stylesheet
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Clearing stylesheet
Wenn du noch einen alten Firefox hast (nicht Quantum!), dann könnte das Plugin Dust-Me Selectors nützlich sein.
Beschreibung hier.
Eine bessere Möglichkeit habe ich bisher noch nicht entdeckt.
Außer: Handarbeit
Beschreibung hier.
Eine bessere Möglichkeit habe ich bisher noch nicht entdeckt.
Außer: Handarbeit
Re: Clearing stylesheet
Ja, das habe ich auch gefunden. Leider habe ich FF Quantum installiert.
Ich habe nun aus 3 fertigen Templates alle class/id in eine excel Tabelle in 3 Spalten gespeichert und logisch anordnen und in stylesheet.css Dateien Schritt-nach-Schritt vergleicht. Scheint gut gelaufen.
Ich habe nun aus 3 fertigen Templates alle class/id in eine excel Tabelle in 3 Spalten gespeichert und logisch anordnen und in stylesheet.css Dateien Schritt-nach-Schritt vergleicht. Scheint gut gelaufen.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Clearing stylesheet
Vielleicht für Chrome:
https://cscheng.info/2016/05/06/quick-w ... tools.html
(unten: Web Page Performance audit - funktioniert bei mir nicht)
https://cscheng.info/2016/05/06/quick-w ... tools.html
(unten: Web Page Performance audit - funktioniert bei mir nicht)