allow control over background color when using images (#453)

This commit is contained in:
Hakim El Hattab
2013-06-04 20:25:47 +02:00
parent 15f24f7a9a
commit 544e090bd1
5 changed files with 11 additions and 8 deletions

View File

@ -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>