<!doctype html> <html> <head> <title>Bootstrap 实例-堆叠的水平</title> <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://cdn.staticfile.org/jquery/2.1.1/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-md-6" style="background-color:dedef8;box-shadow: inset 1px-1px 1px#444,inset-1px 1px 1px#444;> <p>内容1</p> <p>童心少年</p> </div> <div class="col-md-6" style="background-color:#dedef8;box-shadow:inset 1px-1px 1px#444,inset-1px 1px 1px #444"> <p>C++</p> <p>信息奥林匹克竞赛</p> </div> </div> </div> </body> </html>
标签:示例,Bootstrap,C++,HTML,world,Hello From: https://www.cnblogs.com/fushuxuan/p/17206765.html