Reputation: 21
i have a image who are look like a transparent but working as a zebra table like chase and i want to apply a color rgba(12,120,234,0.4);
how i can show the image and color both
background-image: url('Images/embedded_bg.png');
background-color: rgba(12,120,234,0.4);
Upvotes: 2
Views: 72
Reputation: 21
i got the sollution is here
body
{
background-image: url('Images/embedded_bg.png');
width:1000px;
}
#main
{
background-color: rgba(12,120,234,0.4);
}
Upvotes: 0
Reputation: 25675
You can combine them with the background property:
background: rgba(12,120,234,0.4) url('Images/embedded_bg.png') repeat 0 0;
Upvotes: 3