Skip to content

rwinikates/cssprettifier-userscript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Userscript to format and syntax highlight CSS files you open

screenshot

A bookmarklet for this project by Addy Osmani is also available.

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;}.callout h2{margin:0;font-size:16px;font-weight:300;}.callout p:last-child{margin-bottom:0;}

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;
}

.callout h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
}

.callout p:last-child {
    margin-bottom: 0;
}

Powered by cssbeautify and Prism.

License

MIT License (c) Sindre Sorhus

About

Userscript to format and syntax highlight CSS files you open

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published