# offsetHeight
총 3개의 포스트

[JS] clientHeight, offsetHeight, scrollHeight 의 차이
웹페이지, 또는 요소의 높이값 정보를 얻는 속성은 대표적으로 clientHeight와 offsetHeight, scrollHeight가 있다.세 속성은 어떤 경우에는 값은 높이값을 표시하지만, 어떤 경우에는 다른 높이값을 표시한다. ▪️ clientHeight : 요소
2022년 1월 17일
·
0개의 댓글
About clientHeight(width), offsetHeight(width), scrollHeight(width)
offsetHeight(Width), clientHeight(Width), scrollHeight(Width) 와 같은 기하 프로퍼티에 대해 다룬다.
2021년 12월 28일
·
0개의 댓글.gif)
[JS30] - 24) Sticky Nav
처음에는 이렇게 접근했다.css 'nav-sticky'는 position: fixed;를 가지고 있다.이 클래스를 추가해줌으로써 nav의 position을 relative에서 fixed로 바꾸어주어 스크롤할 때 함께 따라올 수 있도록 했다(아래 gif참고)한 가지 간과
2021년 11월 20일
·
0개의 댓글