micro-css
Version:
A CSS preprocessor that provides a simplified object orientated approach to css. The syntax is very similar to CSS but encourages better reuse of classes and discourages high specificity.
23 lines (20 loc) • 330 B
CSS
.Document {
background-color: silver;
color: gray;
}
.Document.-main {
padding: 30px;
}
.Document.-main > heading {
border-bottom: 1px solid gray;
background-color: silver;
}
.Document.-main > heading > h1 {
color: black;
}
.Cat {
color: black;
}
.\$car {
background-image: url('car.png');
}