代码笔记

代码笔记。一,效果图。

美高梅开户网址 1

二,代码。

美高梅开户网址 2

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Todo</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <link href="lib/ionic/css/ionic.css" rel="stylesheet">
    <script src="lib/ionic/js/ionic.bundle.js"></script>
    <!-- 在使用 Cordova/PhoneGap 创建的 APP 中包含的文件,由 Cordova/PhoneGap 提供,(开发过程中显示 404) -->
    <script src="js/app2.js"></script>
    <script src="cordova.js"></script>
    <link href="http://www.runoob.com/static/ionic/css/ionic.min.css" rel="stylesheet">
    <script src="http://www.runoob.com/static/ionic/js/ionic.bundle.min.js"></script>
</head>

<body>
    <!--同等大小网格-->
    <div class="row">
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">.col</div>
    </div>
    <!--指定列宽-->
    <div class="row">
        <div class="col col-50">.col.col-50</div>
        <div class="col">.col</div>
        <div class="col">.col</div>
    </div>
    <div class="row">
        <div class="col col-75">.col.col-75</div>
        <div class="col">.col</div>
    </div>
    <div class="row">
        <div class="col">.col</div>
        <div class="col col-75">.col.col-75</div>
    </div>
    <div class="row">
        <div class="col">.col</div>
        <div class="col">.col</div>
    </div>
    <!--有偏移量的网格-->
    <div class="row">
        <div class=‘col col-33 col-offset-33’>.col</div>
        <div class="col">.col</div>
    </div>
    <div class="row">
        <div class="col col-33">.col</div>
        <div class='col col-33 col-offset-33'>.col</div>
    </div>
    <div class="row">
        <div class="col col-33 col-offset-67">.col</div>
    </div>
    <!--纵向对齐网格-->
    <div class="row">
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">1
            <br>2
            <br>3
            <br>4</div>
    </div>
    <div class="row">
        <div class="col col-top">.col</div>
        <div class="col col-center">.col</div>
        <div class="col col-bottom">.col</div>
        <div class="col">1
            <br>2
            <br>3
            <br>4</div>
    </div>
    <div class="row row-top">
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">1
            <br>2
            <br>3
            <br>4</div>
    </div>
    <div class="row row-center">
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">1
            <br>2
            <br>3
            <br>4</div>
    </div>
    <div class="row row-bottom">
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">1
            <br>2
            <br>3
            <br>4</div>
    </div>
    <!--响应式网格-->
    <div class="row responsive-sm">
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">.col</div>
        <div class="col">.col</div>
    </div>
</body>

</html>

美高梅开户网址 3

美高梅开户网址 , 

参考资料:《新手教程》

发表评论

电子邮件地址不会被公开。 必填项已用*标注

网站地图xml地图