3 ms·
Most sites set a max width and generally center the content. Some sites also have certain “full bleed” elements which stretch outside the main container but typ
by eyelidlessness 5y ago
Most sites set a max width and generally center the content. Some sites also have certain “full bleed” elements which stretch outside the main container but typically similarly have a max width for the contents of those elements.
My site does all of this, except it leans slightly off-center to the left on viewports larger than ~a phone. Tested on my 4k@1x display, though I very rarely extend a browser window beyond the width of my laptop screen. Edit to add: less common but my site also scales the text size up on larger viewports to target a ~60 character column width. I know the readability benefits are debatable but I personally prefer shorter line widths and know a lot of other people do too.
Some very creative sites make use of greater horizontal space by eg switching to a more horizontally flowing layout (and I’ve considered this for my site), but I think it’s rare because it’s such an unusual setup that it’s only worth the effort for very specific things.