• H5新手快速入门 简单布局



    布局
    *{
    margin: 0;
    padding: 0;
    }
    .quan{
    100%;
    height: 2000px;
    background: black url("../ima/bg.jpg") no-repeat;

    }
    .zhuo{
    margin-top: 90px;
    60%;
    height: 1000px;

    float: left;
    }
    .you{
    margin-top: 90px;
    30%;
    height: 1000px;

    float: right;
    }
    .tou{
    100px;
    height: 80px;
    margin: 60px 150px;
    font-size: 50px;
    color: white;
    transition: all 1s ease;
    }
    .tou:hover {
    transform: scale(1.5);
    color: yellow;
    }
    .z1{

    100px;
    height: 80px;
    margin: 60px 150px;
    font-size: 50px;
    color: white;
    transition: all 1s ease;
    }
    .z1:hover {
    transform: rotate(360deg);
    }
    .z2{
    200px;
    height: 200px;
    margin: 60px 150px;
    font-size: 30px;
    color: white;
    }

    .wei{
    270px;
    height: 60px;
    margin: 60px auto;
    background: black url("../ima/003.png") no-repeat;
    transition: all 1s ease;
    }
    .wei:hover{
    background: black url("../ima/001.png") no-repeat;
    }
    .tu{
    60%;
    margin: 20px auto;
    transition: all 1s ease;
    }
    .tu:hover{
    transform: skew(-25deg);
    }
    @media screen and (max- 1100px) {
    .zhuo{
    100%;

    margin: 0 auto;
    float: none;
    }
    .you{

    100%;
    margin: 0 auto;
    float: none;
    }
    }



    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="css/style.css">
    <meta name="viewport" content="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
    </head>
    <body>
    <!--布局-->
    <div class="quan">
    <div class="zhuo">
    <!--布局-->
    <div class="tou">BlueAppTemplate</div>
    <div class="z1">OnepageResponsiveHTML5parallax businesslandingpage</div>
    <div class="z2">Loremipsumdolorsitamet,consecteturadipisicingelit.Similiqueautem,
    atqueinvoluptatibusrepellatnostrumiustoarchitectovelplaceat
    numquamomnisassumenda.</div>
    <div class="wei"></div>
    <!--布局-->
    </div>
    <!--布局-->
    <div class="you">
    <div class="tu"><img src="ima/phone.png"></div>
    </div>
    </div>
    </body>
    </html>


  • 相关阅读:
    数据库使用--MySQL: InnoDB 还是 MyISAM?
    数据库使用3--索引系列
    数据库使用1--注意事项
    数据库使用2--索引系列
    学习FFmpeg API
    几种常见 容器 比较和分析 hashmap, map, vector, list ...hash table
    tiny中文乱码问题,不过仅适用于windows,所以xml不可以出现中文
    【NumPy】numpy数组类型
    【1.1】Scrapy抓取4步走、新建项目
    django+markdown
  • 原文地址:https://www.cnblogs.com/yangzhewoaini/p/7639534.html
Copyright © 2020-2023  润新知