0

How do I display an element with a background-image that has a 35% semi-transparent layer over the element?

Note: I can get the image to appear, but not the box

CSS

body {background-image: url(test.jpg);}

.box-1
{
 background-color: white;
 height: 100%;
 width: 35%;
}

HTML

<div class="box-1"></div>
John
  • 1
  • 13
  • 98
  • 177

0 Answers0