BootWiki教程网
源代码:
点击运行
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>使用默认缩略图实例</title> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta content="Example of using default thumbnails from w3cschool.cc" name="description"> <meta content="" name="author"> <!-- Le styles --> <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"> <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <!-- Le fav and touch icons --> <link href="/try/bootstrap/twitter-bootstrap-v2/docs/examples/images/favicon.ico" rel="shortcut icon"> <link href="/try/bootstrap/twitter-bootstrap-v2/docs/examples/images/apple-touch-icon.png" rel="apple-touch-icon"> <link href="/try/bootstrap/twitter-bootstrap-v2/docs/examples/images/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72"> <link href="/try/bootstrap/twitter-bootstrap-v2/docs/examples/images/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114"> </head> <body> <div class="container"> <ul class="thumbnails"> <li class="span3"> <a class="thumbnail" href="https://www.waitang.com/php/php-tutorial.html"> <img alt="php tutorial" height="180" src="../bootstrap/php-thumb.png" width="260" /> </a> </li> <li class="span4"> <a class="thumbnail" href="https://www.waitang.com/sql/sql-tutorial.html"> <img alt="mysql tutorial" height="180" src="../bootstrap/mysql-thumb.png" width="300" /> </a> </li> <li class="span5"> <a class="thumbnail" href="https://www.waitang.com/js/js-tutorial.html"> <img alt="js tutorial" height="180" src="../bootstrap/js-thumb.png" width="380" > </a> </li> </ul> <hr> </div> <!-- /container --> </body> </html>
运行结果