Files
CSS-NibblePoker/scss/utils/utils-position.scss
T
aziascreations 91098bc437 Split and re-ordered SCSS files for easier overrides of defaults (#4)
* Split SCSS for easier changes
* Re-ordered SCSS files for easier overrides of defaults
* Fixed padding classes with auto value
* Added theme """stub"""
2026-05-11 13:32:00 +02:00

30 lines
440 B
SCSS

// NibblePoker CSS Theme - CC0 1.0 (Public Domain)
/* Utils > Positions */
@mixin position-maker($position-type) {
.p-#{$position-type} {
position: #{$position-type};
}
}
@include position-maker(static);
@include position-maker(relative);
@include position-maker(absolute);
@include position-maker(fixed);
@include position-maker(sticky);
.top-0 {
top: 0;
}
.bottom-0 {
bottom: 0;
}
.left-0 {
left: 0;
}
.right-0 {
right: 0;
}