Bootstrap基本样式学习笔记之图片(6)
kikay 人气:0直接看Bootstrap图片基本样式例子:
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="../../css/bootstrap.min.css" rel="stylesheet"> <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script> <script src="../../js/bootstrap.min.js"></script> <title>图片</title> </head> <body> <div class="container"> <div class="page-header"> <h1>照片样式</h1> </div> <div class="col-lg-3"> <h3>原始照片</h3> <img src="../../img/girl.jpg"> </div> <div class="col-lg-3"> <h3>圆形效果</h3> <img src="../../img/girl.jpg" class="img-circle"> </div> <div class="col-lg-3"> <h3>圆角效果</h3> <img src="../../img/girl.jpg" class="img-rounded"> </div> <div class="col-lg-3"> <h3>边框效果</h3> <img src="../../img/girl.jpg" class="img-thumbnail"> </div> </div> </body> </html>
效果如下:
如果大家还想深入学习,可以点击这里进行学习,再为大家附3个精彩的专题:
加载全部内容