Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the text classes in bootstrap

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report