Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.32 KB

readme.md

File metadata and controls

51 lines (32 loc) · 1.32 KB

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