I would like the elements in my website to adapt to different types of terminals within a platform. E.g. : inside mobile, I would like the elements to be centered regardless you watch it in an iPhone X, an iPhone 8 or an iPhone 8 plus.
Can someone please help me understand how to do this?
make the outside element, the parent element that’s just under the body, width=100% so it always takes up the whole width, then make sure your element inside of this one are centered. they’ll then be centerd on all devices.