Difference between revisions of "Team:NPU-China/test"

Line 1: Line 1:
 +
<!DOCTYPE html>
 
<html>
 
<html>
 
<head>
 
<head>
    <meta charset="UTF-8">
+
  <meta charset="utf-8">  
    <title>NWPU</title>
+
  <title>Bootstrap 实例 - 响应式的列重置</title>
  <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.css">
+
  <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
 
+
  <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
 
+
  <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
+
    <script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
+
 
</head>
 
</head>
 
<body>
 
<body>
  
       <h1>Hello, world!</h1>
+
<div class="container">
 +
  <div class="row" >
 +
       <div class="col-xs-6 col-sm-3"
 +
        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.</p>
 +
      </div>
 +
      <div class="col-xs-6 col-sm-3"
 +
        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>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
 +
            eiusmod tempor incididunt ut.
 +
        </p>
 +
      </div>
 +
 
 +
      <div class="clearfix visible-xs"></div>
 +
 
 +
      <div class="col-xs-6 col-sm-3"
 +
        style="background-color: #dedef8;
 +
        box-shadow:inset 1px -1px 1px #444, inset -1px 1px 1px #444;">
 +
        <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco
 +
            laboris nisi ut aliquip ex ea commodo consequat.
 +
        </p>
 +
      </div>
 +
      <div class="col-xs-6 col-sm-3"
 +
        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
 +
        </p>
 +
      </div>
 +
  </div>
 +
</div>
  
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 15:09, 30 July 2017

<!DOCTYPE html> Bootstrap 实例 - 响应式的列重置

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

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.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim