Responsive Web Design
More and more people have been using mobile devices such as smartphones and tablets instead of computers. Responsive Web Design aims to program a website so that the elements of a webpage automatically adapt to the screen size of the device on which it is being viewed. It can be on a desktop, mobile phone or tablet; the webpage will remain with the same features.
So, a webpage with a responsive design needs to have three main elements: Flexible, grid-based layout, flexible images and media and, Media queries.
Grids: When we add grids to our HTML, the items become flexible, so the columns automatically rearrange themselves to fit the size of the screen or browser window.
Flexible images: For the images in a webpage, the aim is to show the same content, only bigger or smaller depending on the device. One of the solutions is to change the max-width to 100%, so the image will shrink if the page becomes smaller. It will allow the image scale to up to 100 per cent of their containing element.
Media queries: Media query is a technique applied to CSS. We can attribute a breakpoint in order to ensure that certain parts of the web design will behave differently on each side of the breakpoint.
If well applied on the HTML and CSS, these changes will make the page look almost the same on a different device.














