-
-
-
.bg-pattern-sm
+
-
-
-
-
-
-
-
-
+
+
+
+
## Pattern opacity
@@ -132,49 +132,49 @@ Use opacity utilities to control how strong the texture is:
- `.bg-pattern-opacity-darker`
-
-
-
-
.bg-pattern-opacity-lighter
+
+
+
+
.bg-pattern-opacity-lighter
+
+
+
+
.bg-pattern-opacity-light
+
+
+
+
.bg-pattern-opacity-dark
+
+
+
+
.bg-pattern-opacity-darker
+
-
-
-
.bg-pattern-opacity-light
-
-
-
-
.bg-pattern-opacity-dark
-
-
-
-
.bg-pattern-opacity-darker
-
-
-
-
-
-
+
+
+
+
## Examples
Look at the following examples to see how background patterns can be used in real layouts.
-### Card with background pattern
+### Card on a background pattern
-Card with a background pattern in the body can be used to add a decorative touch to the card. This is useful when you want to add a subtle pattern to the card without affecting the readability of the content.
+Placing a card on a patterned background adds a decorative touch to the surrounding area while keeping the card itself clean. Wrap the card in an element with a `.bg-pattern-*` class so the pattern shows around the card without affecting the readability of its content.
-
-
-
Here is example of a card with a background pattern.
-
+
+
+
Here is an example of a card placed on a background pattern.
+
-
+
## Accessibility