I have a code that put a background image in a div but when I use opacity all the div is affected even the text inside it here is my code;
.banner_area .banner_inner {
opacity: .5;
position: relative;
overflow: hidden;
width: 100%;
min-height: 395px;
background: url(../img/breadcrumb/checkout-bg.jpg) no-repeat center bottom;
background-size: cover;
z-index: 1; }
I tried background: rgba(0, 0, 0, 0.6);
but my image is not displaying
also I've tried background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url(../img/breadcrumb/checkout-bg.jpg);
but its not working