zoukankan      html  css  js  c++  java
  • APIcloud

    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>Hello APP</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <style>
    header{
    position: relative;
    100%;
    height: 50px;
    background-color: #FF6666;
    }
    header .left{
    position: absolute;
    bottom: 0;
    left:0;
    100px;
    height: 50px;

    }
    header .left .city{
    position: absolute;
    bottom: -15px;
    left:12px;
    100px;
    height: 50px;

    }

    header h1{
    position: relative;
    height: 50px;
    line-height: 50px;
    font-size: 20px;color: #fff;text-align: center;

    }
    header .right{
    position: absolute;
    bottom: -16px;
    right:0;
    100px;
    height: 50px;

    }
    nav{
    display:-webkit-box;  
    display:-webkit-flex;
    display:flex;

    -webkit-box-orient:horizontal;
    -webkit-flex-flow:row;
    flex-flow:row;
    position: relative;
    100%;
    height: 40px;
    background-color: #FF6666;

    }
    nav .menu{
    -webkit-box-flex:1;
    -webkti-flex:1;
    flex:1;
    100%;
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    text-align: center;
    color: #FF1493;

    }
    nav .menu.selected{
    font-size: 13px;
    text-align: center;
    color: #FFFFFF;
    font-weight: bolder;


    }

    </style>
    </head>
    <body>
    <header>
    <h1>每日优先</h1>
    <div class="left">

    <div class="city">
    选择城市
    </div>
    </div>

    <div class="right">注册</div>

    </header>

    <nav>
    <div class="menu selected" >水果</div>
    <div class="menu">食材</div>
    <div class="menu">零食</div>
    <div class="menu">牛奶</div>
    <div class="menu">蔬菜</div>

    </nav>
    </body>
    <script type="text/javascript" src="../script/api.js"></script>
    <script type="text/javascript">
    apiready = function(){

    };
    </script>
    </html>

  • 相关阅读:
    RE最全面的正则表达式----字符验证
    Ajax tips(my_jquery_function.js)
    Python 分布式执行测试用例
    Python black + flake8 自动化规范代码
    JavaScript学习笔记-ES5
    pytest-assume 测试用例某一断言失败继续执行后面的代码
    pytest常用命令行
    [pretty_errors] Prettifies Python exception output to make it legible
    requests-html
    Python 类 继承与重写
  • 原文地址:https://www.cnblogs.com/smallning/p/6860361.html
Copyright © 2011-2022 走看看