metro4
Version:
The front-end framework for Build responsive, mobile-first projects on the web with the first front-end component library in Metro Style
34 lines (28 loc) • 774 B
text/less
@import (once) "../../include/vars";
@import (once) "../../include/mixins";
.fixed-top, .fixed-bottom {
position: fixed;
left: 0;
right: 0;
width: 100%;
}
.fixed-top {
top: 0;
bottom: auto;
}
.fixed-bottom {
top: auto;
bottom: 0;
}
.pos-relative {position: relative ;}
.pos-absolute {position: absolute ;}
.pos-static {position: static ;}
.pos-fixed {position: fixed ;}
each(@mediaBreakpointListMobile, {
@media screen and (min-width: @@value) {
.pos-relative-@{value} {position: relative ;}
.pos-absolute-@{value} {position: absolute ;}
.pos-static-@{value} {position: static ;}
.pos-fixed-@{value} {position: fixed ;}
}
})