w3.css 이미지 호버 오버레이 마우스를 올리면 이미지에 페이딩 오버레이 효과를 만드는 방법을 알아보자. 텍스트 페이드 인 만들기 1단계) HTML 추가 <div class=”container”> <img src=”img_avatar.png” alt=”Avatar” class=”image”> <div class=”overlay”> <div class=”text”>Hello World</div> </div> </div> 2단계) CSS 추가 .container { position: relative; width: 50%; } .image { display: block; width: 100%; height: auto; } .overlay { position: absolute; top: 0; bottom: 0; left: 0; right: 0; height: 100%; width: 100%; opacity: 0; transition: .5s ease; background-color: #008CBA; } .container:hover .overlay { opacity:…