I'm looking to create a website with a fixed sidebar positioned at the center of the screen on the left-hand side. I want it to remain vertically centered even when the page is scrolled.
Is there a way to achieve this effect using pure CSS/HTML?
I've considered updating the sidebar's position on scroll, but I'm concerned about potential flickering caused by constant updates to its top position in the CSS. Are there any alternative solutions available? Ideally, I'd like to stick to CSS alone, but I'm open to utilizing jQuery if it can deliver the functionality I need.