I am trying to get the z index order to adjust so that the first class is closer than the second class.
But I cannot for the life of me get a box-shadow to show.
.title {
background-image: linear-gradient(bottom, rgb(249,252,249) 33%, rgb(255,255,255) 37%);
background-image: -o-linear-gradient(bottom, rgb(249,252,249) 33%, rgb(255,255,255) 37%);
background-image: -moz-linear-gradient(bottom, rgb(249,252,249) 33%, rgb(255,255,255) 37%);
background-image: -webkit-linear-gradient(bottom, rgb(249,252,249) 33%, rgb(255,255,255) 37%);
background-image: -ms-linear-gradient(bottom, rgb(249,252,249) 33%, rgb(255,255,255) 37%);
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.33, rgb(249,252,249)),
color-stop(0.37, rgb(255,255,255))
);
box-shadow: 0px 1px 5px rgba(0,0,0,1);
height: 50px;
z-index: 1;
}
.banner {
background-image:url('images/grad.jpg');
background-color:#cccccc;
height: 500px;
z-index: -1;
}
But this does not work for me.
markup>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Design Test | PolyDevs</title>
<link rel="stylesheet" type="text/css" href="style.css">
<div class="header">
<div class="title">
<div class="logo">
<img src="images/banner.png"/>
</div>
</div>
</div>
</head>
<body>
<div class="banner">
</div>
</body>
</html>