![]() |
VOOZH | about |
This class accepts more than one value in tailwind CSS. All the properties are covered in class form. It is the alternative to the CSS background-position property. This class is used to set one or more background images to an element. By default, it places the image on the top left corner. To specify two or more images, separate the URLs with a comma.
Background Position Classes:
Note: All classes are used in the below example.
Syntax:
<element class="bg-{side}">...</element>
Example:
Output: You can hover on the output image, each image will show its background-position in the tooltip.