Bootstrap按钮组简单实现代码

前端之家收集整理的这篇文章主要介绍了Bootstrap按钮组简单实现代码前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

本文实例为大家分享了Bootstrap按钮组的具体代码,供大家参考,具体内容如下

<Meta charset="utf-8"> <Meta http-equiv="X-UA-Compatible" content="IE-edge"> <Meta name="viewport" content="width=device-width,initial-scale=1"> Bootstrap 101 Template nofollow" rel="stylesheet"> nofollow" rel="stylesheet">

<div class="btn-group-vertical">
<button type="button" class="btn btn-default">left
<button type="button" class="btn btn-default">center
<button type="button" class="btn btn-default">right


<div class="btn-group-vertical">
<button type="button" class="btn btn-default">left
<button type="button" class="btn btn-default">center
<button type="button" class="btn btn-default">right

<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown">
Dropdown<span class="caret">

<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation" class="dropdown-header">Dropdown header
<li role="presentation">Action
<li role="presentation" class="divider">
<li role="presentation">Another action










<script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"&gt;
<script src="http://cdn.bootcss.com/bootstrap/3.3.1/js/bootstrap.min.js"&gt;
<script src="http://cdn.bootcss.com/bootstrap/3.3.1/js/npm.js"&gt;

效果图:

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持编程之家。

原文链接:https://www.f2er.com/bootstrap/41043.html

猜你在找的Bootstrap相关文章