css overflow smooth scroll mobile

Solutions on MaxInterview for css overflow smooth scroll mobile by the best coders in the world

showing results for - "css overflow smooth scroll mobile"
Xavier
22 Jan 2016
1div {
2  width: 100%;
3  overflow: auto;
4}
5
6p {
7  width: 200%;
8  background: #f5f9fa;
9  border: 2px solid #eaf2f4;
10  padding: 10px;
11}
12
13.scroll-touch {
14  -webkit-overflow-scrolling: touch; /* Lets it scroll lazy */
15}
16
17.scroll-auto {
18  -webkit-overflow-scrolling: auto; /* Stops scrolling immediately */
19}
20