bg-contain
The class bg-contain is a Tailwind CSS class, part of the background size classes in the category backgrounds.
Example usage
The following code is an example on how to use the class bg-contain.
The above code produces the following result:
Resulting CSS
background-size: contain;