Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.19 KB

readme.md

File metadata and controls

51 lines (36 loc) · 1.19 KB

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