引导程序类 panel-success 的用法
Bootstrap 中的 panel-success 类是一个上下文状态类,用于使面板对特定上下文更具意义。它表示成功。
可以尝试运行以下代码来实现 panel-success 类 −
示例
<!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> <div class = "panel panel-success"> <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>
广告