Bootstrap panel-footer 类
在 Bootstrap 中使用.panel-footer 类可将 footer 设置为面板。
可尝试运行以下代码来实现 panel-footer 类 −
示例
<!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-default"> <div class = "panel-heading"> Panel heading </div> <div class = "panel-body"> Panel content </div> <div class = "panel-footer"> Panel footer </div> </div> </body> </html>
广告