bootstrap 按钮 文本 浮动 隐藏
Posted cui-ting
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了bootstrap 按钮 文本 浮动 隐藏相关的知识,希望对你有一定的参考价值。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" type="text/css" href="dist/css/bootstrap.css">
</head>
<body>
<div class="container">
<p class="btn-primary">按钮颜色与大小</p>
<button class="btn btn-default" type="button">Default</button>
<button class="btn btn-primary" type="button">primary</button>
<button class="btn btn-success" type="button">success</button>
<button class="btn btn-info" type="button">info</button>
<button class="btn btn-warning" type="button">warning</button>
<button class="btn btn-danger" type="button">danger</button>
<button class="btn btn-link" type="button">link</button>
<button class="btn btn-default" type="button">Default</button>
<button class="btn btn-default btn-lg" type="button">Default btn-lg</button>
<button class="btn btn-default btn-sm" type="button">Default btn-sm</button>
<button class="btn btn-default btn-xs" type="button">Default btn-xs</button>
<button class="btn btn-default btn-block" type="button">Default-btn-block</button>
<p class="btn-primary">活动状态</p>
<button class="btn btn-default active" type="button">Default</button>
<button class="btn btn-primary active" type="button">primary</button>
<button class="btn btn-success active" type="button">success</button>
<button class="btn btn-info active" type="button">info</button>
<button class="btn btn-warning active" type="button">warning</button>
<button class="btn btn-danger active" type="button">danger</button>
<button class="btn btn-link active" type="button">link</button>