InterviewSolution
Saved Bookmarks
| 1. |
Lead Body Copy in Bootstrap |
|
Answer» Add emphasis to a paragraph with BOOTSTRAP lead class. It is Typography class in Bootstrap. Let us SEE an example to understand the difference between lead body copy and a regular demo paragraph: <!DOCTYPE HTML> <html LANG="en"> <head> <title>Bootstrap Lead Body Copy</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="STYLESHEET" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <h2>Lead Body Copy</h2> <p class = "lead">This is demo paragraph. This is demo paragraph. This is demo paragraph. This is demo paragraph. This is demo paragraph. This is demo paragraph. This is demo paragraph. </p> <p>This is a demo paragraph.</p> </div> </body> </html>The output displays how to use the lead class in Bootstrap to stand out paragraph: |
|