allow control over background color when using images (#453)
This commit is contained in:
parent
15f24f7a9a
commit
544e090bd1
5 changed files with 11 additions and 8 deletions
|
@ -54,7 +54,7 @@
|
|||
<h2>Background image</h2>
|
||||
</section>
|
||||
|
||||
<section data-background="assets/image2.png" data-background-size="100px" data-background-repeat="repeat">
|
||||
<section data-background="assets/image2.png" data-background-size="100px" data-background-repeat="repeat" data-background-color="#111" style="background: rgba(255,255,255,0.9)">
|
||||
<h2>Background image</h2>
|
||||
<code>data-background-size="100px" data-background-repeat="repeat"</code>
|
||||
</section>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue