백그라운드만 까맣게 처리하기, 폰트는 그대로
마스터욱
0
54
0
0
2019-12-14 17:50:53
background:linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('../img/bg_banner3.jpg');
background-size:100%;
background-position:center;
=================================
div {
position:relative;
z-index:1;
}
div:after {
background-image:url(이미지 경로);
top:0;
left:0;
position:absolute;
background-size:100%;
opacity:0.5!important;
filter:alpha(opacity=50);
z-index:-1;
content:"";
width:100%;
height:100%;
}