답변 5개
참고해 볼 수 있는 글들입니다.
https://css-tricks.com/fixed-headers-on-page-links-and-overlapping-content-oh-my/">https://css-tricks.com/fixed-headers-on-page-links-and-overlapping-content-oh-my/
https://markus.oberlehner.net/blog/simple-solution-for-anchor-links-behind-sticky-headers/">https://markus.oberlehner.net/blog/simple-solution-for-anchor-links-behind-sticky-headers/
https://stackoverflow.com/questions/4086107/fixed-page-header-overlaps-in-page-anchors">https://stackoverflow.com/questions/4086107/fixed-page-header-overlaps-in-page-anchors
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
css 에서
position:relative 영역 그대로 유지 되면서 z-index 를 사용할 수 있습니다
position:absolute 영역 없어지고 그자리에서 띄워지면서 z-index 를 사용할 수 있습니다
z-index 는 겹겹이 보여지는 순서를 설정할 수 있습니다.
1~999 까지 입력 가능합니다.
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
이동을 태그로 바로 하는게 아니라 스크립트를 만드시고 해당 위치의 정보를 가지고 오고 그 정보에 고정된 크기 만큼 더 해주면 될거 같습니다. 스크롤 위치 구하는 방법은 검색을 하시면 어렵지 않게 구하실수 있읏실거 같습니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인