- Try to use less position:relative
When doing a OTO project, the page slides up and down, shaking very badly;
The main page is more pictures, began to think it is the cause of many pictures, but all the pictures are not loaded, or trembling;
Later, remove all external CSS, immediately, after analysis, CSS is very simple, only position this property caused my attention, and finally, commented out all the position properties, sliding or very smooth, indicating that the problem is here;
Finally, after one after another, unexpectedly is a footer element of the position:relative caused, removed, sliding very smooth, the interface layout is still normal, indicating that this property is basically useless.
- Use CSS attributes with the WebKit prefix as much as possible, and these properties are optimized
For example: Webkit-scrollbar,
-webkit-overflow-scrolling:touch; This allows us to build applications with a more native feel without needing to resort to a third party plugin.
"Optimized Android WebView performance, continuous updates, updates with Discovery"