body{
-webkit-overflow-scrolling: touch;
overflow-scrolling: touch;
}
Write directly to body
overflow-scrolling: touch
does not have a rebound effect on iOS phones, but writing to a single p
will have a rebound effect , this is why
業(yè)精于勤,荒于嬉;行成于思,毀于隨。
I used to add overflow: hidden to the body, and then added this -webkit-overflow-scrolling: touch; and it worked
Add overflow: auto to the body and try it
You can try adding a container under the body and write -webkit-overflow-scrolling: touch; into the container
overflow: auto;
-webkit-overflow-scrolling: touch; Try this, refer to the link https://developer.mozilla.org...