Format and syntax highlight CSS files you open
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cssprettifier.user.js
readme.md
screenshot.png

readme.md

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

Install

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