![open the viewport screen in ncplot open the viewport screen in ncplot](https://baodep.vn/wp-content/uploads/2021/11/f7053e5c3953f00da942-1-17.jpg)
If we view the layout in Responsive Design Mode in DevTools we can see that it works pretty well as a straightforward mobile view of the site. This simple layout also works well on mobile. About Contact Meet the team Blog Veggies! You can easily make the viewport smaller and larger to see where the content would be improved by adding a media query and tweaking the design.Īctive learning: mobile first responsive design The Responsive Design Mode in Firefox DevTools is very useful for working out where these breakpoints should go. The points at which a media query is introduced are known as breakpoints. This approach means that it doesn't matter what the exact dimensions are of the device being used, every range is catered for. That's the point at which you want to use a media query to change the design to a better one for the space you have available. Perhaps the line lengths become far too long, or a boxed out sidebar gets squashed and hard to read.
![open the viewport screen in ncplot open the viewport screen in ncplot](https://i.ebayimg.com/images/g/XlQAAOSwyZ5UrCjI/s-l300.jpg)
This means that instead of targeting specific sizes for all designs, a better approach is to change the design at the size where the content starts to break in some way. There are now far too many devices, with a huge variety of sizes, to make that feasible. Lists of the sizes of the screens of popular phones and tablets were published in order that designs could be created to neatly match those viewports. In the early days of responsive design, many designers would attempt to target very specific screen sizes.