This is known as a “responsive website” – the content adapts to the device it is being viewed on so the site will look great on any device.