Bootstrap bg-primary style
Translation results:
primary
UK[ˈpraɪməri] US[ˈpraɪmeri]
adj. Primary, important; earliest, primitive; [Geology ]Original; basic
n.First place; best; element; candidate promotion meeting
Bootstrap bg-primary stylesyntax
Function: Table cells use the "bg-primary" class.
Bootstrap bg-primary styleexample
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</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 class="bg-primary">该段落使用了类 "bg-primary"。</p> <a class="bg-primary" href="http://www.php.cn">该链接使用了类 "bg-primary"。</a> </div> </body> </html>
Click the "Run instance" button to view the online instance