Hi folks, a question for you about behavior when resizing browser windows.
We want our website to seamlessly resize as the user shrinks their browser window down from full-size through the tablet and mobile breakpoints. For an example of the behavior, see what happens to the hero image when resizing www.swiss.com - despite going through multiple breakpoints, it appears to smoothly resize the entire time.
I have recreated the hero resizing effect through the use of a fixed-width image at full size, switching to 100% width for the image once we reach the tablet breakpoint. This part is working well:
However, I’m having some difficulty with the content further down the page not resizing as we would like. Take for instance the red, green, and blue columns - when the browser is at full-size, mobile landscape, and mobile portrait, they display as intended. However, when at the tablet breakpoint, they instead display with vertical “rails” on the left and the right sides.
Question: How can I get the tablet view to display the content at 100% width, despite it being inside of a container that’s 960 px wide?
Thanks much, - Bill