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
  • 11,516
  • 11
  • 87
  • 151

0 Answers0