Shift
Shift the center of the box to set box in the center
Shift top
Class: .shift-t
Shift right
Class: .shift-r
Shift bottom
Class: .shift-b
Shift left
Class: .shift-l
Shift top left
Class: .shift-tl
Shift top right
Class: .shift-tr
Shift bottom left
Class: .shift-bl
Shift bottom right
Class: .shift-br
Shift by pixel on hover
You can use .hover-shift-{direction}-{pixels}
to shift an element. Here {direction} can be t,r,b or l for top, right, bottom and left respectively
.shift-{direction}-{pixels}
will also work if you don't want to use with hover
Example |
class |
|
.hover-shift-t-1 |
|
.hover-shift-t-2 |
|
.hover-shift-t-3 |
|
.hover-shift-t-4 |
|
.hover-shift-t-6 |
|
.hover-shift-t-8 |
|
.hover-shift-t-12 |
|
.hover-shift-t-16 |