@superflycss/utilities-layout
Version:
55 lines (46 loc) • 898 B
CSS
/** @define utilities */
@each $position in static, relative, absolute, fixed {
.u-position-$(position) {
position: $(position) ;
}
}
.u-top-right {
position: absolute ;
top: 0 ;
right: 0 ;
}
.u-tr {
position: absolute ;
top: 0 ;
right: 0 ;
}
.u-top-left {
position: absolute ;
top: 0 ;
left: 0 ;
}
.u-tl {
position: absolute ;
top: 0 ;
left: 0 ;
}
.u-bottom-right {
position: absolute ;
bottom: 0 ;
right: 0 ;
}
.u-br {
position: absolute ;
bottom: 0 ;
right: 0 ;
}
.u-bottom-left {
position: absolute ;
bottom: 0 ;
left: 0 ;
}
.u-bl {
position: absolute ;
bottom: 0 ;
left: 0 ;
}