移动端 web 开发技术交流
TRANSCRIPT
— �# HTML+CSS+JS � webkit,)���*&���
— %�+(�+$'�!����#— webkit ��"������, � GPU ��� ������
— <input type='date' /> ����������
6
����$(document).on('focus', 'input, textarea', function() { setTimeout(function() { window.scrollTo(document.body.scrollLeft, document.body.scrollTop); }, 0);});
11
body { margin: 0; padding: 0;}input { -webkit-appearance: none;}.bar { height: 50px; background: lightpink; position: fixed; bottom: 0; left: 0; right: 0;}
<body> <input type="text" placeholder="Input..." /> <div class="bar"></div></body>
window.addEventListener('resize', function() { console.log('resized')}, false)
12
:hover :active
button { // ... &:active { opacity: .8; }}
<body ontouchstart=""> <button>Text</button></body>
15
— ����— ����iScrollSwipeView
18
Android
— Developer -> USB debugging + chrome://inspect
— Webview ���������� �remote debugging
— �� Webview ��� http://blog.qqbrowser.cc/
23