源代码:
提交运行 »
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> <link rel="stylesheet" href="http://www.fmpq.com/jscss/bootstrap/bootstrap.min.css"> <script src="http://www.fmpq.com/jscss/bootstrap/jquery.min.js"></script> <script src="http://www.fmpq.com/jscss/bootstrap/bootstrap.min.js"></script> </head> <body> <div class="container"> <h2>图片</h2> <p> .img-circle 类将图片变为圆形 (IE8 不支持):</p> <img src="/images/htmlcss/cinqueterre.jpg" class="img-circle" alt="Cinque Terre" width="304" height="236"> </div> </body> </html>
测试结果: