Page design and development should be based on user behavior and device environment (System platform, screen size, screen orientation, etc.) to respond and adjust accordingly. The concrete practice way is composed of many aspects, including elastic grid and layout, picture, CSS Media query use and so on. Whether the user is using a laptop or an ipad, our pages should be able to automatically switch resolution, image size and related scripting functions to suit different devices, in other words, the page should be able to automatically respond to the user's device environment.
Responsive web design is that a website can be compatible with multiple terminals--not a specific version for each terminal. In this way, we do not have to do special version design and development for the new equipment that is coming.
The basic principle of responsive design is to use media queries to detect different device screen sizes for processing. The page header must have a meta- declaration viewport:
<meta name= "viewport" content= "Width=device-width, initial-scale=1, maximum-scale=1, User-scalable=no" >
What is responsive design? Why should I do a responsive design? What is the basic principle of responsive design?