See the Pen 메뉴바 스크롤 특정위치 고정 by nilgi (@nilgi) on CodePen.
position: sticky; /* 특정 위치에 멈춤 */
top: 5px; /* 위에서 5px 떨어진 곳에 */
See the Pen 메뉴바 스크롤 특정위치 고정 by nilgi (@nilgi) on CodePen.
position: sticky; /* 특정 위치에 멈춤 */
top: 5px; /* 위에서 5px 떨어진 곳에 */