Bootstrap类panel-info的用法
Bootstrap中的panel-info类是上下文状态类,用于形成对特定上下文更有意义的面板。这会将信息添加到面板,并且为蓝色。
您可以尝试运行以下代码以实现panel-info类-
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
<script src = "/scripts/jquery.min.js"></script>
<script src = "/bootstrap/js/bootstrap.min.js"></script>
</head>
<body style = "background: orange;">
<div class = "panel panel-info">
<div class = "panel-heading">
<h3 class = "panel-title">Panel Title</h3>
</div>
<div class = "panel-body">
This is a demo panel.
</div>
</div>
</body>
</html>