Skip to content

sindresorhus/cssprettifier-userscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

cssprettifier-userscript

Format and syntax highlight CSS files you open.

A userscript is like a cross-browser extension that makes on-the-fly changes to specific web pages, typically to change their appearance or to add or modify functionality.

Getting started

Available on Chrome, Firefox (requires GreaseMonkey), Safari (requires NinjaKit), Opera.

Overview

screenshot

Before

.callout{margin:15px 0;padding:10px;font-size:13px;color:#8d8d6d;background:#fffef1;border:1px solid #e5e2c8;border-radius:4px;}.callout strong{font-weight:bold;color:#000;}

After

.callout {
	margin: 15px 0;
	padding: 10px;
	font-size: 13px;
	color: #8d8d6d;
	background: #fffef1;
	border: 1px solid #e5e2c8;
	border-radius: 4px;
}

.callout strong {
	font-weight: bold;
	color: #000;
}

A bookmarklet is also available.

Powered by cssbeautify and Prism.

License

MIT © Sindre Sorhus

About

Format and syntax highlight CSS files you open

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •