-
Notifications
You must be signed in to change notification settings - Fork 8
OOCSS
Zura Gabievi edited this page Dec 29, 2015
·
1 revision
@include o(object) {
display: object;
}
You can use
@include object(...) {...}
too
CSS Output:
.o-object {
display: object;
}
@include c(component) {
display: component;
}
You can use
@include component(...) {...}
too
CSS Output:
.c-component {
display: component;
}
@include u(utility) {
display: utility;
}
You can use
@include utility(...) {...}
too
CSS Output:
.u-utility {
display: utility;
}
@include t(theme) {
display: theme;
}
You can use
@include theme(...) {...}
too
CSS Output:
.t-theme {
display: theme;
}
@include s(scope) {
display: scope;
}
You can use
@include scope(...) {...}
too
CSS Output:
.s-scope {
display: scope;
}
@include _(hack) {
display: hack;
}
You can use
@include hack(...) {...}
too
CSS Output:
._hack {
display: hack;
}
@include qa(test) {
display: test;
}
You can use
@include test(...) {...}
too
CSS Output:
.qa-test {
display: test;
}
@include is(state) {
display: state;
}
You can use
@include state(..., 'has') {...}
too
CSS Output:
.is-state {
display: state;
}