Documentation Showcase Donations Github Discord Login Sign up

Components

Utilities

Fonts

Showcase

Donations

Login

Sign up

Github

Discord

Components

Utilities

Fonts

bg-img

...

The Bg-img utility let you define a background image on any element (not only nimbus components).

The background image has the following CSS properties:

[bg-img]{ background-repeat: no-repeat; background-position: center; background-size: cover; }

Example

To use this utility you just have to define the path of your image in the `bg-img` attribute.

Some text...