-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #913 from CPatchane/position_utilities
Add position utilities
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@require '../tools/mixins' | ||
/*------------------------------------*\ | ||
Position utilities | ||
\*------------------------------------*/ | ||
|
||
$position-absolute | ||
position absolute | ||
|
||
$position-relative | ||
position relative | ||
|
||
$position-fixed | ||
position fixed | ||
|
||
$position-sticky | ||
position sticky | ||
|
||
$position-static | ||
position static | ||
|
||
// Global classes | ||
global('.u-pos-absolute', $position-absolute) | ||
global('.u-pos-relative', $position-relative) | ||
global('.u-pos-fixed', $position-fixed) | ||
global('.u-pos-sticky', $position-sticky) | ||
global('.u-pos-static', $position-static) |