News for hackers. Stuff that matters.
Re:The Ideal Viewport Doesn't Exist by depressedpanda on Monday August 21, 2023 @12:23PM (#37211737)
While I suppose breakpoints might still have some use cases, I believe an overwhelming amount of the stuff we currently use them for can be better and more fluidly accomplished with container queries.

The example you give of a sidebar collapse with a menu button replacement can easily be accomplished with a container query on the wrapping box, no?

I'm honestly curious about a use case that a media query breakpoint can handle, but which a container query can't.

There are no comments on this comment yet.