/    Sign up×
Community /Pin to ProfileBookmark

CSS Optimizer/Cleaner

Hello all, I’m looking for an application that will do various administrative CSS tasks like check for duplicate entries/selectors and generally clean thigns up (similar to Dreamweaver’s Apply Soruce Formatting option). I have a very large CSS file that needs some help and it would be great if such an application exists. Any help would be greatly appreciated.

Thanks!

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@toicontienFeb 06.2006 — Not to be "that guy," but do a google search for css optimizer ?
Copy linkTweet thisAlerts:
@ray326Feb 07.2006 — Won't the w3c validator output work for that?
Copy linkTweet thisAlerts:
@pcthugFeb 07.2006 — [URL]http://www.w3.org/Amaya/[/url]

[URL]http://jigsaw.w3.org/css-validator/[/URL]
Copy linkTweet thisAlerts:
@toicontienFeb 07.2006 — Won't the w3c validator output work for that?[/QUOTE]
It could help, but he also might be talking about combining like property declarations into short-hand declarations. Like if there are a whole bunch of border-* properties that could be condensed into border: [width] [style] [color]; For that I don't think the W3C's CSS validator works.

Honestly, that's up to the author ? You should be keeping track of the styles you write, condense where necessary and use classes properly when you've got common styles.

I'm pretty anal retentive when writing style sheets. I always write my declarations in alphabetical order, and then within the declarations I write the properties in alphabetical order. Keeps things tidy and makes it easy to find certain declarations.
×

Success!

Help @evanagee spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...