Bootstrap Text CSS Helpers

 

.text-muted,.text-primary,.text-success,.text-info,.text-warning,.text-danger classes are used to give different colours to the text of paragraphs.

 
 
 
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Bootstrap css helpers Example</title> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <h2>Text</h2> <p class="text-muted well">Muted styled text.</p> <p class="text-warning well">warning styled text.</p> <p class="text-success well">success styled text.</p> <p class="text-info well">info styled text.</p> <p class="text-danger well">danger styled text.</p> <p class="text-primary well">primary styled text.</p> </div> </body> </html>
Output