zoukankan      html  css  js  c++  java
  • ☀【插件】iScroll

    iScroll 4.2.5 中文API √
    http://www.gafish.net/api/iScroll.html

    -webkit-overflow-scrolling: touch

    <!DOCTYPE html>
    <html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
        <title></title>
        <style>
            #head {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 40px;
                background: #F00;
            }
            #body {
                position: absolute;
                top: 40px;
                left: 0;
                bottom: 40px;
                width: 100%;
                background: #FF0;
    
                overflow: auto;
                -webkit-overflow-scrolling: touch;
            }
            #foot {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 40px;
                background: #F00;
            }
        </style>
    </head>
    <body>
        <div id="head"></div>
        <div id="body">
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
            <p>如果丘处机没有路过牛家村,中国将是最发达国家</p>
        </div>
        <div id="foot"></div>
    </body>
    </html>
  • 相关阅读:
    关于Generator生成器函数的解析
    vue中router传递与接收参数的简单梳理
    霓虹灯效果
    vuex简单梳理4,actions的用法和其辅助函数
    vuex简单梳理3,Mutations的用法和其辅助函数
    js实现轮询展示
    js实现图片的大小自适应效果
    for循环每次展示固定条数的数据的写法。
    CSS实现背景图尺寸不随浏览器缩放而变化
    javascript之AJAX学习
  • 原文地址:https://www.cnblogs.com/jzm17173/p/3394677.html
Copyright © 2011-2022 走看看