Include mobile first approach (#20377)

This commit is contained in:
christocarr
2018-10-28 11:22:29 +00:00
committed by Huyen Nguyen
parent 94f603807f
commit 33d5921722

View File

@ -5,6 +5,8 @@ title: Responsive Web Design
Responsive web design is the concept of designing web pages that adapt to different screen sizes. It commonly involves the use of different layouts, font sizes, and placement of navigation menus.
A mobile first approach should be used when building a responsive website or web app which means styling for the smallest screen first, usually 320px, and then using media queries to style layout for larger screens.
In order to create a responsive web page, CSS is commonly used to style your HTML elements. Some common methods in CSS used to create responsive web designs are:
1. Writing [media queries](https://guide.freecodecamp.org/css/media-queries)