What are the text classes in bootstrap
This article mainly explains "what are the text classes in bootstrap". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the text classes in bootstrap"?
Bootstrap contains many text classes: ".text-muted", ".text-primary", ".text-success", ".text-info", ".text-warning", ".text-danger", ".small", and so on.
Operating environment of this tutorial: Windows7 system, bootsrap3.3.7 version, DELL G3 computer
Source code:
Running effect:
Description:
Text color class
The following different classes show different text colors. If the text is a link, moving the mouse over the text will darken:
Class description. Text-muted "text-muted" class text style. Text-primary "text-primary" class text style. Text-success "text-success" class text style. Text-info "text-info" class text style. Text-warning "text-warning" class text style. Text-danger "text-danger" class text style
Text typesetting class
Class description .small sets small text (set to 85% of the size of parent text). Text-left sets text left alignment. Text-center sets text center alignment. Text-right sets text right alignment. Text-justify sets text alignment Automatic text wrapping in paragraphs beyond the screen. Text-nowrap paragraphs beyond the screen do not wrap. Text-lowercase sets lowercase text. Text-uppercase sets text capitalization. Text-capitalize sets the first letter of a word
Other:
Class description. Text-hide page elements contain the text content to replace the background map thank you for reading, the above is "what are the text classes in bootstrap" of the content, after the study of this article, I believe that you have a deeper understanding of the text class in bootstrap what this problem, the specific use of the need for you to practice verification. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!