This example use media queries to re-arrange the images on different screen sizes: for screens larger than 700px wide, it will show four images side by side, for screens smaller than 700px, it will show two images side by side. For screens smaller than 500px, the images will stack vertically (100%).
You will learn more about media queries and responsive web design later in our CSS Tutorial.
02 5561 112
Al Rabdan Street, Abu Dhabi Gate City
United Arab Emirates
Mall Hours: Daily 8:00 AM - 12:00 AM
Office time: 7 AM - 3:00 PM
Send us an email to help us grow