When it comes to mobile development, we often use Chrome's own simulator to simulate a variety of mobile devices.But simulation is simulation after all, when the development is complete, using the real machine to access the page problems when debugging?Here is a debugging method for Android1. Install the latest version of Chrome2 on both PC and Android phones.Connect your phone's PC with USB 3.On your phone
1, the table input, the border and the focus of its border to become transparent, at FF feasible, but Chrome will have the style, how to solve?Workaround :border:none;outline:0;2, the following code, CSS3 animation in the iphone can not run, why?keyframes tad{0%{transform:scale (1);} 10%,20%{transform:scale (0.9) rotate (3reg);} .......}workaround : rotate write scale before3, scroll bar to the bottom, and then continue to slide, which is to trigger a
Set in the Web page 1px and the physical pixel 1px will not be the same, so different on different phones display results are not the same, through the following settings to find a suitable for the current Web page adaptive different mobile phones, different browsers, the code is as follows:“The width=620px is the minimum width required for the content area of the Web page, which needs to be displayed in full screen on different phones, and the 1px in
Many web sites through user-agent to determine the type of browser, if it is 3G mobile phone, display mobile page content, if it is a normal browser, display ordinary Web content. Google Chrome Browser, can be easily used as a 3G phone simulator. In the Windows "start"--> "Run" Enter the following command, launch Google Browser, you can simulate the corresponding
We have previously introduced how to modify the Chrome browser to run parameters to simulate the mobile phone access site, but in the Chrome 32 and 33 after the introduction of a more convenient way, in the developer tool only need to set up to be able to easily simulate the various mobile phone model access effects.
There is a small project that requires users to jump to different locations on the mobile side, but the data indicates that some users are based on the PC segment of the Chrome opera phone simulator, how do you block or jump to the PC page?
Reply content:
There is a small project that requires users to jump to different locations on the mobile side, but the
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.