asked
Apple website interaction clone!
Applying a specific timing scroll animation
Written on
·
326
0
스크롤 비율에 따라 해당 태그에 클래스명을 붙혔다 제거하는 방식을 안 쓰는 이유를 알 수 있을까요??
Answer 1
필요하시면 클래스명도 함께 사용해주시면 됩니다~data- 형태의 어트리뷰트든 class든 편한 것으로 하시면 됩니다.