Positions
These classes allows you to apply some positions like absolute
, fixed
, etc... on any HTMLElement
Preview
Absolute
Loading code example. Please wait...
Relative
Loading code example. Please wait...
Fixed
Loading code example. Please wait...
Sticky
Loading code example. Please wait...
Install
CSS Classes
-
s-position:absolute
Apply the
absolute
position -
s-position:relative
Apply the
relative
position -
s-position:fixed
Apply the
fixed
position -
s-position:sticky
Apply the
sticky
position -
s-position:top
Apply the
top
position to0
-
s-position:left
Apply the
left
position to0
-
s-position:right
Apply the
right
position to0
-
s-position:bottom
Apply the
bottom
position to0
-
s-position:center
Center the element either horizontally, vertically or both if no other alignement are specified