News for hackers. Stuff that matters.
Re:Just because I have a vertical screen doesn’t mean I’m on... by tshaddox on Tuesday February 02, 2021 @06:13PM (#26008371)
That sounds similar to a CSS proposal called container queries, which has been a much-requested feature for many years. Currently the only native way to do responsive design is to make styling changes based on attributes of the viewport (like width). But like you say, it would be nice to have dynamic layouts for every individual component of a website. Container queries do that.
Re:Just because I have a vertical screen doesn’t mean I’m on... by asddubs on Tuesday February 02, 2021 @11:42PM (#26010681)
yeah I heard of those, I was blanking on the name, thanks for pointing that out. Another thing I really want would be position:device-fixed; but that one doesn't even seem to really be on the table for the most part.