• 吴裕雄 Bootstrap 前端框架开发——Bootstrap 网格系统实例:手机、平板电脑、台式电脑


    <!DOCTYPE html>
    <html>
    <head>
       <title>Bootstrap 实例 - 手机、平板电脑、台式电脑</title>
       <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
       <script src="https://cdn.staticfile.org/jquery/2.0.0/jquery.min.js"></script>
       <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    </head>
    <body>
    
    <div class="container">
       <h1>Hello, world!</h1>
    
       <div class="row">
    
          <div class="col-sm-3 col-md-6 col-lg-8"  
             style="background-color: #dedef8; 
             box-shadow: inset 1px -1px 1px #444, 
             inset -1px 1px 1px #444;">
             <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do 
                eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut 
                enim ad minim veniam, quis nostrud exercitation ullamco laboris 
                nisi ut aliquip ex ea commodo consequat. 
             </p>
    
             <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem 
                accusantium doloremque laudantium, totam rem aperiam, eaque ipsa 
                quae ab illo inventore veritatis et quasi architecto beatae vitae 
                dicta sunt explicabo. 
             </p>
          </div>
    
          <div class="col-sm-9 col-md-6 col-lg-4" 
             style="background-color: #dedef8;
             box-shadow: inset 1px -1px 1px #444, 
             inset -1px 1px 1px #444;">
             <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem 
                accusantium doloremque laudantium.
             </p>
    
             <p> Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, 
                consectetur, adipisci velit, sed quia non numquam eius modi 
                tempora incidunt ut labore et dolore magnam aliquam quaerat 
                voluptatem. 
             </p>
           </div>
      </div>
    </div>
    
    </body>
    </html>

  • 相关阅读:
    走向变态的人生
    HDWIKI 4.0.2绿色版(含运行环境)(V1)
    centos7 安装python3.7.1
    一种高并发流控程序的简单轻量实现
    编写JDBC框架优化CRUD操作
    一段阻塞队列代码的纠错与优化
    一次请求在同一个事务实现
    创建Java内部类的编译错误处理
    C++模板简单分析与举例
    java.lang.OutOfMemoryError处理错误
  • 原文地址:https://www.cnblogs.com/tszr/p/10886195.html
Copyright © 2020-2023  润新知