Skip to content

Instantly share code, notes, and snippets.

@scribu
Created August 29, 2011 16:51
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scribu/1178809 to your computer and use it in GitHub Desktop.
Save scribu/1178809 to your computer and use it in GitHub Desktop.
CSSTidy format for WordPress CSS
| {
|| {|
| |;|
}|
|
}
|||
|
@scribu
Copy link
Author

scribu commented Aug 29, 2011

@scribu
Copy link
Author

scribu commented Aug 31, 2011

The only thing that CSSTidy doesn't handle as desired is multiple selectors:

.class-a,#another-selector {

which should be instead:

.class-a,
#another-selector {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment