News for hackers. Stuff that matters.
Re:Things CSS Could Still Use Heading into 2023 by kyleyeats on Saturday December 24, 2022 @11:13AM (#34118166)
Love this comment. In general I think developers shouldn't change the height of things, animation or no. If you're using vh then the page shouldn't have a scrollbar at all. You should only ever use it to fit your whole UI on one screen.

I actually can't imagine any other use for vh that isn't related to screenjacking (giving you a "full screen experience" mid-article) or scrolljacking (changing how the page scrolls). Parallax effects, maybe? I like the current limitations.

Re:Things CSS Could Still Use Heading into 2023 by reflectiv on Saturday December 24, 2022 @04:08PM (#34121100)
> I actually can't imagine any other use for vh that isn't related to screenjacking

Creating fixed panels on the left or right side of the viewport that are full height and sticky.