반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- NodeList
- Sticky
- React
- 확장성
- forEach
- For
- Hover
- pointermove
- 스크롤
- 이벤트리스너
- width
- addEventListener
- NAV
- 반복문
- Animation
- swiperjs
- 애니메이션
- css
- getBoundingClientRect
- classList
- scrollY
- localstorage
- insertAdjacentHTML
- mousemove
- scrollevent
- scroll
- JavaScript
- input
- swiper
- html
Archives
- Today
- Total
목록transform (1)
ZeroToHunnit Coding
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/S11F5/btsDRnJq8yL/GUKQ10Jpxvf7MbvMxzsvOK/img.gif)
요즘 벤치마킹을 하다보면 저렇게 마우스를 올리면 사진이 뜨는 ui를 많이 발견할 수 있다. 그래서 간단하게 만들어보았다. HTML 1번 리스트 2번 리스트 3번 리스트 리스트는 ul li로 만들어주고 이미지를 띄울 공간을 미리 만들어주었다. CSS ul{ padding: 40px; } li{ padding: 80px 0; font-size: 40px; border-bottom: 4px solid #777; cursor: pointer; position: relative; transition: all 0.3s; } li:last-child{ border-bottom: none; } .img-box{ width: 300px; height: 300px; position: absolute; top: 50%; l..
HTML,CSS
2024. 1. 23. 15:41