Bootstrap Sub-group class and responsive tools

Source: Internet
Author: User

1. Contextual text color

Fonts in various shades

<Pclass= "text-muted">Bootstrap Video Tutorial</P><Pclass= "Text-primary">Bootstrap Video Tutorial</P><Pclass= "Text-success">Bootstrap Video Tutorial</P><Pclass= "Text-info">Bootstrap Video Tutorial</P><Pclass= "Text-warning">Bootstrap Video Tutorial</P><Pclass= "Text-danger">Bootstrap Video Tutorial</P>

2. Scene background color

Various shades of background

<Pclass= "Bg-primary">Bootstrap Video Tutorial</P><Pclass= "Bg-success">Bootstrap Video Tutorial</P><Pclass= "Bg-info">Bootstrap Video Tutorial</P><Pclass= "Bg-warning">Bootstrap Video Tutorial</P><Pclass= "Bg-danger">Bootstrap Video Tutorial</P>

3. Close button

<type= "button"  class= "Close">&times; </ Button >

4. Triangle symbol

<class= "Caret"></span>

5. Fast Floating

<class= "Pull-left"> left </div> <  class= "Pull-right"> right </div> 

Note: This float is actually a float, but uses the!important to enhance the priority.

6. Block-level centering

<class= "Center-block"> Center </div>

Note: it is margin:x auto; and Display:block is set;.

7. Clear floating

<class= "Clearfix"></div>

Note: This div can be placed in front of the need to clean up the floating block.

8. Show and Hide

<class= "show">show</div>  <class= "hidden">hidden</Div  >

Two Responsive tools

Ultra-small screen activation display

<class= "Visible-xs-block">Bootstrap</Div >

Ultra small screen activation hidden

<class= "Hidden-xs">Bootstrap</Div  >

Note: For the displayed content, there are three variants, respectively: block, Inline-block, and inline.

Bootstrap Sub-group class and responsive tools

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.