Simple Analytics

bg-center

The class bg-center is a Tailwind CSS class, part of the background position classes in the category backgrounds.

Example usage

The following code is an example on how to use the class bg-center.

The above code produces the following result:

Resulting CSS

background-position: center;

Get Tailscan now

The absolute must-have tool for anyone using Tailwind CSS.

Build, design and debug your Tailwind website visually with Tailscan, right within the browser.

Get Tailscan now
video poster