Nudge

Modifiers

ClassDescription
nudgeNudge the element from all 4 directions
nudge-topNudge the element from the top
nudge-toprightNudge the element from the top right corner
nudge-bottomleftNudge the element from the bottom left corner
nudge-bottomNudge the element from the bottom
nudge-bottomrightNudge the element from the bottom right corner
nudge-leftNudge the element from the left
nudge-rightNudge the element from the right
inner-radiusCreates border radius based on --nudge and --radius

Utilities

ClassDescription
nudge-*Amount of --nudge to apply
nudge-x-*Amount of --nudge-x to apply
nudge-y-*Amount of --nudge-y to apply

CSS Variables

VariableDefaultDescription
--nudge0Amount to to nudge on both block and inline axes
--nudge-x
0Amount to to nudge on the inline axis
--nudge-y0Amount to to nudge on the block axis