background 축약에서 background 이미지 부분만 opacity 줄 수 있나요 ? 채택완료
나쨘도링
1년 전
조회 4,431
background: url(https://giresvenin2.cafe24.com/web/upload/img/main_bg_img.png) center / cover no-repeat;
여기서 저 이미지만 opacity 를 줄 수 있나요 ? 0으로 주고 싶은데 ㅠㅠ
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
채택된 답변
+20 포인트
1년 전
아래의 CSS 를 한번 참고를 해보세요.
background-image: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)), url(https://giresvenin2.cafe24.com/web/upload/img/main_bg_img.png); background-position: center; background-size: cover; background-repeat: no-repeat;
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인