Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

Contributing

Stars

50 stars

Watchers

10 watching

Forks

Releases

Sponsor this project

Packages

Contributors