standard-css
v0.0.3-beta
Published
Strict CSS code style.
Downloads
4
Readme
A strict CSS code style standard built with _______________.
This project follows in the footsteps of Standard JS except it will be be slightly tweaked over time.
Feel free to open issues for suggestions after you search for similar suggestions. Ultimately a lot of it is personal taste so feel free to make your own code style if you have major gripes about something in Standard CSS.
Example
.foo {
.bar {
position: absolute;
top: 30px;
right: 30px;
display: block;
font-family: Helvetica Neue, sans-serif;
}
.baz {
&:first-child {
float: left;
width: 300px;
text-align: center;
}
}
}
.qux {
color: rgba(255, 0, 0, .75);
}
Rationale
In the interest of transparency, you can read about the rationale for every decision we've made in the docs.
Badge
Include a badge in your README to let people know your project uses the standard style.
[![Standard CSS Code Style](https://standard-css.github.io/standard-css/css-standard-code-style.svg)](https://github.com/standard-css/standard-css)
[![Standard CSS Code Style](https://img.shields.io/badge/css%20style-standard%20css-brightgreen.svg)](https://github.com/standard-css/standard-css)
Credit
- Feross Aboukhadijeh for showing us the merits of a unified standard code style.