div{
position:relative; background-color: #eee;
background: -moz-linear-gradient(30deg, #eff8fd 0%, #f0f9fe 40%, #c4e2fe 80%, #9cbee6 100%);
background: -webkit-linear-gradient(30deg, #eff8fd 0%, #f0f9fe 40%, #c4e2fe 80%, #9cbee6 100%);
background: -o-linear-gradient(30deg, #eff8fd 0%, #f0f9fe 40%, #c4e2fe 80%, #9cbee6 100%);
background: -ms-linear-gradient(30deg, #eff8fd 0%, #f0f9fe 40%, #c4e2fe 80%, #9cbee6 100%);
background: linear-gradient(30deg, #eff8fd 0%, #f0f9fe 40%, #c4e2fe 80%, #9cbee6 100%);
}
div:after{content: ''; display: block; width: 100%; height: 100%; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; left: 0; background: url('') center top; background-size: cover; opacity: 0.5;}