使用 Bootstrap 增大段落字体大小
在 Bootstrap 中使用 .lead 类可以增大段落字体大小。
你可以尝试运行以下代码来实现 lead 类 −
示例
<!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 = "container"> <h2>Football</h2> <h3>FIFA</h3> <p>The 2018 FIFA World Cup is the 21st FIFA World Cup.</p> <p class = "lead">FIFA, 2018 is going on in Russia.</p> </div> </body> </html>
广告
数据结构
网络
RDBMS
操作系统
Java
iOS
HTML
CSS
Android
Python
C 编程
C++
C#
MongoDB
MySQL
JavaScript
PHP