본문 바로가기

ZeroToHunnit Coding

검색하기
ZeroToHunnit Coding
프로필사진 0에서100

  • 분류 전체보기 (60)
    • HTML,CSS (9)
    • JAVASCRIPT (35)
    • React 일기 (11)
    • 포트폴리오 일기 (5)
Guestbook
반응형
Notice
Recent Posts
Recent Comments
Link
250x250
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
  • 이벤트리스너
  • forEach
  • 가로스크롤
  • Hover
  • addEventListener
  • swiper
  • React
  • scroll
  • scrollY
  • input
  • JavaScript
  • For
  • insertAdjacentHTML
  • scrollevent
  • ADsP
  • classList
  • pointermove
  • 애니메이션
  • NodeList
  • css
  • getBoundingClientRect
  • 스크롤
  • Sticky
  • mousemove
  • Animation
  • swiperjs
  • html
  • SQLD
  • 반복문
  • localstorage
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Left (1)

ZeroToHunnit Coding

[Javascript] 마우스따라 움직이는 bar

위와 같이 각 번호에 마우스를 올리면 밑에 바가 자연스럽게 옆으로 움직이는 애니메이션을 만들어보았다. HTML 1번임 2번임 3번임 4번임 5번임 CSS .row{ width: 100%; display: flex; justify-content: center; align-items: center; margin-top: 300px; position: relative; } li{ width: 250px; height: 200px; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; transition: all 0.3s; } li:hover{ color: crimson; } .line{ posi..

JAVASCRIPT 2024. 1. 30. 21:32
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바