All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.docs.components.BackgroundImage.examples.BackgroundImage.md Maven / Gradle / Ivy

The newest version!
---
id: Background image
section: components
cssPrefix: pf-v6-c-background-image
---## Examples

### Basic

```html isFullscreen
``` ## Documentation ### Overview In order to set the background image to be used, set the `--pf-v6-c-background-image--BackgroundImage` CSS variable to the path of the image. For example: `--pf-v6-c-background-image--BackgroundImage: url(custom/path/image.jpg);` ### Usage | Class | Applied to | Outcome | | -- | -- | -- | | `.pf-v6-c-background-image` | `*` | A fixed background image is applied to the background of the page. | | `--pf-v6-c-background-image--BackgroundImage` | `.pf-v6-c-background-image` | Sets the background image to be used. **Required** |




© 2015 - 2025 Weber Informatics LLC | Privacy Policy