Add basic property-value utils for position
This commit is contained in:
parent
35f80bb12e
commit
3fbdedbf22
2 changed files with 22 additions and 1 deletions
|
|
@ -1,4 +1,13 @@
|
|||
// Positioning
|
||||
// Common values
|
||||
|
||||
// Sass list not in variables since it's not intended for customization.
|
||||
$positions: static, relative, absolute, fixed, sticky;
|
||||
|
||||
@each $position in $positions {
|
||||
.position-#{$position} { position: $position !important; }
|
||||
}
|
||||
|
||||
// Shorthand
|
||||
|
||||
.fixed-top {
|
||||
position: fixed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue