Background position
Tailwind CSS Background position
Use responsive background position utilities with TW elements. A tutorial on how to control the position of an element's background image.
Basic example
To control the position of an element’s background image use the
.bg-{side}
class.
bg-left-top
bg-top
bg-right-top
bg-left
bg-center
bg-right
bg-left-bottom
bg-bottom
bg-right-bottom