zoukankan      html  css  js  c++  java
  • 响应式布局组件介绍

    一响应式布局

    @media

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <style>
            .c1 {
                background-color: red;
                height: 50px;
            }
            /*大于700宽度生效*/
            @media (min- 700px) {
                .c2 {
                    background-color: blue;
                }
            }
        </style>
    </head>
    <body>
        <div class="c1 c2"></div>
    </body>
    </html>
    View Code

    二组件

    后台管理

    https://www.jqueryui.org.cn/

    https://www.jeasyui.cn/

    轮播

    https://www.bxslider.cn/

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <link rel="stylesheet" href="bxslider-4-4.2.12/dist/jquery.bxslider.min.css">
    </head>
    <body>
    
        <div class="bxslider">
              <div><img src="https://www.bxslider.cn/assets/images/coffee1.jpg" title="Funky roots"></div>
              <div><img src="https://www.bxslider.cn/assets/images/coffee2.jpg" title="The long and winding road"></div>
              <div><img src="https://www.bxslider.cn/assets/images/coffee3.jpg" title="Happy trees"></div>
        </div>
    
        <script src="jquery-1.12.4.js"></script>
        <script src="bxslider-4-4.2.12/dist/jquery.bxslider.min.js"></script>
    
        <script>
            $(function(){
              $('.bxslider').bxSlider({
                mode: 'fade',
                captions: true,
                slideWidth: 600
              });
            });
            // 框架加载完成
            // $(document).ready(function () {
            //
            // })
            // $(function () {
            //
            // })
        </script>
    </body>
    </html>
    View Code

    Bootstrap

    https://v3.bootcss.com/

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <link rel="stylesheet" href="bootstrap-3.3.7-dist/css/bootstrap.min.css">
        <link rel="stylesheet" href="bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
        <style>
          .btn-success {
              /*最重要的*/
               200px; !important;
          }
        </style>
    </head>
    <body>
    
            <!-- Single button -->
        <div class="btn-group">
          <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            Action <span class="caret"></span>
          </button>
          <ul class="dropdown-menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
          </ul>
        </div>
    
        <script src="jquery-1.12.4.js"></script>
        <script src="bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    </body>
    </html>
    View Code

    都依赖于JQUERY

  • 相关阅读:
    kubernetes对象之secrets
    kubernetes对象之cronjob
    Kubernetes对象之ReplicaSet
    详谈kubernetes更新-2
    详谈kubernetes滚动更新-1
    设计模式-抽象工厂模式
    深入JVM-Class装载系统
    设计模式-工厂方法模式
    设计模式-单例模式
    设计模式-6大设计原则
  • 原文地址:https://www.cnblogs.com/jokerbj/p/12654202.html
Copyright © 2011-2022 走看看