Reputation: 3277
Example code:
<div class="ex">Bla bla bla bla</div>
In the top will be background-image and after when it'll finish display the background-image it'll disply a background-color.
Somthing like that:
[Image] text
[color] more text
[color] mor text..
How do I do it with CSS?
Thank you.
Upvotes: 0
Views: 4666
Reputation: 1612
try to use background image repeat property:
background-repeat: repeat | repeat-x | repeat-y | no-repeat
Upvotes: 0
Reputation: 2423
background: url("img/folder/file.jpg") repeat-x #000000;
Change the hex to whatever color you need.
Upvotes: 5