Bootstrap bg-danger style


  Translation results:

danger

English [ˈdeɪndʒə(r)] US [ˈdendʒɚ]

n. Danger; dangerous object, threat

Bootstrap bg-danger stylesyntax

Function: Table cells use the "bg-danger" class

Bootstrap bg-danger 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-danger">该段落使用了类 "bg-danger"。</p>
	<a class="bg-danger" href="/index.php">该链接使用了类 "bg-danger"。</a>
</div>

</body>
</html>
Run instance »

Click the "Run instance" button to view the online instance

Home

Videos

Q&A