Add screen mixin
This commit is contained in:
parent
ca2b52780c
commit
0d68494ca8
1 changed files with 8 additions and 0 deletions
|
|
@ -15,6 +15,14 @@
|
|||
.responsive(@ruleset, @i + 1);
|
||||
}
|
||||
|
||||
.screen(@screen, @ruleset) {
|
||||
.apply-match(@screens; @screen; {
|
||||
@media (min-width: @__match) {
|
||||
@ruleset();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
.no-focus {
|
||||
&:focus, &:active {
|
||||
outline: none;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue