Bootstrap label label-primary style
Translation results:
label
UK[ˈleɪbl] US[ˈleɪbl]
n. label; mark, symbol; [construction] molding on a door or window
vt. Labeled with; to refer to as; to list as; [chemical] to use radioactive elements to trace (elements or atoms, etc.)
primary
UK[ˈpraɪməri] US[ˈpraɪmeri]
adj. Primary, main; earliest, primitive; [Geology] native; basic
n.First position; best; element; candidate promotion meeting
Bootstrap label label-primary stylesyntax
Function: Blue label of "primary" type
Bootstrap label label-primary styleexample
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Bootstrap 实例 - 标签</title> <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <h2>标签</h2> <p>.label 类放置在不同的元素中(自适应大小):</p> <h1>标题 1 <span class="label label-primary">新</span></h1> <h3>标题 3 <span class="label label-primary">新</span></h3> <h5>标题 5 <span class="label label-primary">新</span></h5> <p>段落 <span class="label label-primary">新</span></p> </div> </body> </html>
Click the "Run instance" button to view the online instance