The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › container responsive to different page widths
I m trying to make a container on the page that adjusts itself over diff resolutions just with css…
Here’s some code of that container…
http://codepen.io/majesticchirag/pen/yOBMpm
I want that when I decrease the width of the browser it adjust itself like on this website ( I copied this design from there…)
https://www.playstation.com/en-gb/games/uncharted-4-a-thiefs-end-ps4/
Responsive design is a broad subject.
Basically, use percentages for widths etc and they will adjust automatically.
Many CSS Grid Systems and Frameworks like Bootstrap will do this for you,