Answers for "middle div scrollable side div unscrollable below header"

0

middle div scrollable side div unscrollable below header

header {
position: absolute;
top: 0;
width: 100%
}

sideDiv {
padding-top: (height of header)
position: sticky;
top: 0;
height: 100vh
}
scrollableDiv {
padding-top: (height of header)
}
Posted by: Guest on October-15-2020

Browse Popular Code Answers by Language