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

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

No files matched your search

+1 -1
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>