본문 바로가기

IT일상

검색하기
IT일상
프로필사진 solo5star

  • 분류 전체보기 (56)
    • IT 리뷰 (12)
    • 인프라 (9)
    • 프론트엔드 (23)
    • 우아한테크코스 (7)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/04   »
일 월 화 수 목 금 토
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
Tags
  • 우테코
  • 무선랜카드 교체
  • 데모데이
  • 우아한테크코스
  • 유한 상태 머신
  • Shadow DOM
  • webpack
  • HTML
  • live share
  • docker-compose
  • 터치 스와이프
  • 우아한테크코스 레벨3
  • typescript
  • web component
  • custom element
  • Grafana
  • scroll-snap
  • GitHub Pages
  • javascript
  • CSS
  • browserslist
  • Docker
  • RTL8852BE
  • github Actions
  • AX210
  • swiper
  • fastify
  • Prometheus
  • react-dom
  • react
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록scroll-snap (1)

IT일상

React에서 터치 스와이프 구현하기

리뉴얼 된 블로그로 보기: https://solo5star.dev/posts/57/ 배경 우테코에서 개발하고 있는 요즘카페 서비스에선 메인 화면의 카페들을 스와이프 형식으로 보여주고 있습니다. 따라서 터치 스와이프 구현이 필요합니다. 이 글에서 JavaScript로 구현한 scroll snap의 소스 코드는 https://gist.github.com/solo5star/ca5788e3c2b75c3c8ab017a4fb97c438 에서 확인할 수 있습니다 정말 간단하게 구현하기 (CSS) .container { height: 500px; overflow-y: scroll; scroll-snap-type: y mandatory; } .container > .item { scroll-snap-align: star..

프론트엔드 2023. 9. 24. 03:02
이전 Prev 1 Next 다음

Blog is powered by AXZ / Designed by Tistory

티스토리툴바