Skip to content

Commit af29fc8

Browse files
committed
edit readme
1 parent ec82ab9 commit af29fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The script looks for image(s) with the `data-adaptive-background` attribute:
2020
<img src="/image.jpg" data-adaptive-background='1'>
2121
```
2222

23-
__Using an element with a CSS Background Image__
23+
### Using an element with a CSS background mmage
2424

2525
Instead of using an `<img>` element nested inside of parent element, AB supports grabbing the dominant color of a background image of a standalone element, then applying the corresponding dominant color as the background color of said element. Enable this functionality by adding a data property, `data-ab-css-background` to the element. See the example below:
2626

0 commit comments

Comments
 (0)