The thing about the mobile side.

Source: Internet
Author: User

Mobile-side development
    • Emulation: Plugins in Google Chrome developer tools
    • Device: Device information
    • pixel ratio (device  pixel ratio):
      • iPhone5: 1136*640 independent pixels
      • iphone5:568 * 320 physical pixels
      • pixel ratio: 2
    • Many experts say the onclick event has a half-second delay on the mobile side
    • viewport
      •  <meta name= "viewport"  content= "width=device-width,height=device-height, user-scalable=no,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,target-densitydpi=device-dpi " / > 
    • Media queries
      • @media all and (max-width:400px)
      • All media
      • key Word: And,not (excludes a device type), only (Specific media device)
    • landscape
      • @media All and (Orientation:landscape)
      • @media All and (orientation:portrait)
    • Mainstream mobile device resolution: 240*320 (not generally considered), 320*480, 480 * 800 (MULTI), 640*960 (multi), 480*854, 1280*720, 800*1280, 1080*1920
    • em relative to font size  font-size:24px;  1em = 24px;
    • the measurement unit of REM relative to the root node font size

What's happening on the mobile side

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.