Second project summary (MOBILE)

Source: Internet
Author: User

This project is to do mobile web app, because the mobile page content is relatively small, so much faster than the PC, of course, we do this project is only the fur of the mobile side, the real mobile response to the development of the back to learn more technical implementation. This time, we used a large-scale sprite to save the picture, the teacher also sent us a sprite to generate a tool, very force.

Sprite diagram I think it is very good, use PS to cut the icon after the uniform specification of the name of the save (PS can be set), and then use the tool to generate sprite map, copy the sprite map of the CSS code we can directly call, very convenient, more efficient than a picture call, but also avoid the trouble of repeating the name. In addition, in improving the page performance sprite also has a good effect, because the browser when loading the picture is a queue to download the form, so a Web page if the number of images will directly affect the opening time, Sprite diagram will be a number of pictures to be a picture can undoubtedly avoid this problem to a large extent. Sprite diagram generally applies to small icons, I even large figures also use sprite chart, but pay attention to the small icon of the sprite and large map of the sprite to separate, do not all go to a piece on the put. Many students say that will not be used, anyway, I was used quite cool, direct call, convenient and fast, at the same time I also look forward to learning more technology to further improve the development efficiency.

PC-side development consider compatibility more, and the mobile side will consider the adaptation is more, because the screen size of various mobile phones are not the same, so we develop the page must be concerned with different resolutions of different screen strategies, or to develop a more versatile display strategy. For example, a navigation four buttons occupy the whole line, we should set the width of each button to 25%, so no matter how the screen size changes, there will not be too much change, we should be aware of the development of the place is to occupy a whole line, which is centered, it must be clear to start doing.

Second project summary (MOBILE)

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.