简单教程
提交运行
代码编辑器:
<!DOCTYPE htm> <meta charset="utf-8"> <link href="https://cdn.bootcss.com/bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet"> <style>body { padding: 20px;}</style> <div class="container"> <div class="row"> <ul class="thumbnails"> <li class="span1"> <a href="#" class="thumbnail"> <img src="/static/i/css/paris.jpg"/> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> <img src="/static/i/css/paris.jpg"/> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> <img src="/static/i/css/paris.jpg"/> </a> </li> </ul> </div> </div>
运行结果: