tailwindcss/docs/source/_assets/less/main.less
2017-08-27 18:02:02 -04:00

22 lines
290 B
Text

.foo {
@class "bg-light px-4";
background-color: red;
@media (--breakpoint-sm) {
@class "py-2";
background-color: green;
}
}
.bg-light {
background: #fff;
}
.px-4 {
padding-right: 1rem;
padding-left: 1rem;
}
.py-2 {
padding-top: .5rem;
padding-bottom: .5rem;
}