스크롤시 아래서 위로 올라오는 애니메이션 처리하고 싶을때! 간단하게 설명하면 스크롤되는 높이값을 측정해서 그 높이에 있는 element에 active class를 추가하여 처리해주면된다! 코드는 아래와 같다 1. html 코드 Caption Section Text Random text Section Text Random text Section Text Random text 2. css .reveal{ position: relative; transform: translateY(150px); opacity: 0; transition: 2s all ease; } .reveal.active{ transform: translateY(0); opacity: 1; } 3. js window.addEventListen..