變化到底是什么意思?、?有什么變化
<!doctype html>
<html>
<head>
? ? <meta charset="UTF-8">
? ? <title>定制風(fēng)格</title>
<link rel="stylesheet" >
</head>
<body>
? ?<button type="button">基礎(chǔ)按鈕.btn</button> ?
? ?<button class="btn btn-default:hover" type="button">默認(rèn)按鈕.btn-default</button>?
? ?<button class="btn btn-primary" type="button">主要按鈕.btn-primary</button>?
? ?<button class="btn btn-success" type="button">成功按鈕.btn-success</button>?
? ?<button class="btn btn-info" type="button">信息按鈕.btn-info</button>?
? ?<button class="btn btn-warning" type="button">警告按鈕.btn-warning</button>?
? ?<button class="btn btn-danger:focus" type="button">危險(xiǎn)按鈕.btn-danger</button>?
? ?<button class="btn btn-link:active" type="button">鏈接按鈕.btn-link</button>?
</body>
</html>
變化是這樣的么????感覺都一樣啊?焦點(diǎn)狀態(tài)和懸浮狀態(tài)一樣的?能告知到底是什么意思不?感謝~
2016-04-17
懸浮狀態(tài) 鼠標(biāo)在按鈕上懸浮時(shí)觸發(fā),鼠標(biāo)移開后移除樣式
焦點(diǎn)狀態(tài) 鼠標(biāo)點(diǎn)擊按鈕,按鈕獲得焦點(diǎn)后觸發(fā),鼠標(biāo)移開后樣式依然存在,按鈕失去焦點(diǎn)后移除樣式
2016-03-23
正確寫法應(yīng)該是這樣的<button class="btn btn-link active" type="button">鏈接按鈕.btn-link</button>
沒有冒號(hào)的