标签:href containe pdo oct char action 引入 sts com
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!--移动设备优先--> <title>bootstrap</title> <!-- 最新版本的 Bootstrap 核心 CSS 文件 --> <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <!-- 可选的 Bootstrap 主题文件(一般不用引入) --> <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> <script src="http://libs.baidu.com/jquery/2.0.0/jquery.js"></script> <!-- 最新的 Bootstrap 核心 JavaScript 文件 --> <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> <style> </style> </head> <body> <div class="container"> <h1>基本用法</h1> <div class="input-group"> <span class="input-group-addon">@</span> <input type="text" class="form-control" /> <span class="input-group-addon">.00</span> </div> <div class="input-group input-group-lg"> <span class="input-group-addon glyphicon glyphicon-user"></span> <input type="text" class="form-control" /> </div> <div class="input-group"> <span class="input-group-addon glyphicon glyphicon-user"></span> <input type="text" class="form-control" /> </div> <div class="input-group input-group-sm"> <span class="input-group-addon glyphicon glyphicon-user"></span> <input type="text" class="form-control" /> </div> <hr/> <div class="input-group"> <span class="input-group-addon"> <input type="checkbox" /> </span> <input type="text" class="form-control" /> </div> <hr /> <div class="input-group"> <span class="input-group-btn"> <button type="button" class="btn btn-danger">OK</button> <button type="button" class="btn btn-danger">OK</button> <button type="button" class="btn btn-danger">OK</button> </span> <input type="text" class="form-control" /> </div> <hr/> <div class="input-group"> <div class="input-group-btn"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Action <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="#">项目</a></li> <li><a href="#">项目</a></li> <li><a href="#">项目</a></li> </ul> </div> <input type="text" class="form-control" /> </div> </div> </body> </html>
⑨bootstrap组件 按钮式下拉菜单 输入框 使用基础案例
标签:href containe pdo oct char action 引入 sts com
原文地址:http://www.cnblogs.com/ttzzyy/p/7620162.html