编辑下面的代码:【加编码】
<html lang="en"> <head> <meta charset="utf-8"> <title>Example of thumbnails customized from ziqiangxuetang.com</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Example of thumbnails customized from ziqiangxuetang.com"> <meta name="author" content=""> <link href="/try/bootstrap/twitter-bootstrap-v2/docs/assets/css/bootstrap.css" rel="stylesheet"> <link href="/try/bootstrap/twitter-bootstrap-v2/docs/assets/css/example-fixed-layout.css" rel="stylesheet"> <!--[if lt IE 9]> <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link rel="shortcut icon" href="/try/bootstrap/twitter-bootstrap-v2/docs/examples/static/images/favicon.ico"> <link rel="apple-touch-icon" href="/try/bootstrap/twitter-bootstrap-v2/docs/examples/static/images/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="72x72" href="/try/bootstrap/twitter-bootstrap-v2/docs/examples/static/images/apple-touch-icon-72x72.png"> <link rel="apple-touch-icon" sizes="114x114" href="/try/bootstrap/twitter-bootstrap-v2/docs/examples/static/images/apple-touch-icon-114x114.png"> </head> <body> <div class="container"> <ul class="thumbnails"> <li class="span5"> <div class="thumbnail"> <img src="/try/bootstrap/shoes1.jpg" alt="product 1"> <div class="caption"> <h5>Product detail</h5> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> <p><a href="#" class="btn btn-success">Buy</a> <a href="#" class="btn btn-warning">Try</a></p> </div> </div> </li> <li class="span5"> <div class="thumbnail"> <img src="/try/bootstrap/shoes2.jpg" alt="product 2"> <div class="caption"> <h5>Product detail</h5> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> <p><a href="#" class="btn btn-success">Buy</a> <a href="#" class="btn btn-warning">Try</a></p> </div> </div> </li> </ul> <hr> <footer> <p>© Company 2013</p> </footer> </div> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/jquery.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-transition.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-alert.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-modal.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-dropdown.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-scrollspy.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-tab.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-tooltip.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-popover.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-button.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-collapse.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-carousel.js"></script> <script src="/try/bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-typeahead.js"></script> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂