peringatan

Bahasa Inggeris [ˈwɔ:nɪŋ]

n amaran; amaran; amaran); notis awal

Gaya amaran bg Bootstrap sintaks

Fungsi: Sel jadual menggunakan kelas "bg-warning"

Gaya amaran bg Bootstrap contoh

<!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-warning">该段落使用了类 "bg-warning"。</p>
	<a class="bg-warning" href="/index.php">该链接使用了类 "bg-warning"。</a>
</div>
</body>
</html>
Jalankan Instance »

Klik butang "Run Instance" untuk melihat contoh dalam talian