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>
  • 相关阅读:
    一些关于微电子方面的笔试题
    [JavaScript]Redeclaring variable
    [JavaScript]How to run Jasmine in Intellij/WebStorm?
    [JavaScript] Use `+` opertor to add one string and one number
    [CoffeeScript]CoffeeScript学习笔记
    Study Note for grunt
    grunt.js
    [转]Vim常用命令速查
    如何在Web Page里体验CoffeeScript的 功能
    [JavaScript] 如何使用Ruby gem运行jasmine test case
  • 原文地址:https://www.cnblogs.com/jzm17173/p/3394677.html
Copyright © 2011-2022 走看看