I've been searching extensively for solutions, but none of them have been effective for me. I am new to developing.
I currently have a fixed header that stays in place even when scrolling.
How can I achieve the functionality where sections disappear after clicking on tabs in the sidebar?
Current Result:
https://i.sstatic.net/3Ip2g.jpg
Desired Result:
https://i.sstatic.net/KaIXA.jpg
Is there a way to implement this using Java, CSS, or any other method?
*{
margin: 0px;
}
#sidebar {
position: fixed;
height: 100%;
width: 10%;
margin: 0px;
background: lightblue;
border-radius: 7px;
}
{/* More CSS code */}
{/* HTML content */}