Mobile End Project Development Summary and End Project Development Summary

Source: Internet
Author: User

Mobile End Project Development Summary and End Project Development Summary

For this mobile page development, there are many new things. The first one is responsive layout. in mobile page development, different la s must be used to display the desired effects on mobile devices with different screen sizes. You may need to reduce the amount of information on the page and change the original layout scheme to adopt the layout scheme suitable for mobile terminals. For mobile devices with medium screen sizes, such as tablets, you need to consider the layout scheme in the case of landscape screen or portrait screen. These requirements are extended by the so-called responsive layout solution. The focus of the responsive layout is that different css styles can be used for devices of different screen sizes through media queries, in this case, you can directly adapt to devices of different screen sizes without having to write different pages for different devices. You only need an HTML file and a CSS file.

To use responsive layout, you must first set "viewport" in the metadata tag of the page header, and set a series of parameters required for responsive layout. After "viewport" is set, you can write a media query in css to use different layout schemes for devices of different screen sizes.

 1 <!DOCTYPE html> 2 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.