[Bootstrap] global style (3): bootstrap global style

Source: Internet
Author: User

[Bootstrap] global style (3): bootstrap global style

Table

1. Basic class. table {width/margin-bottom/} {padding/border-top}

2. striped table. table-striped {nth-of-type (odd): background-color}

3. border table. table-border {border}

4. hover the mouse over. table-hover {background-color}

5. compress the table. table-condesed

6. Status class. active. success. warning. danger. info

7. Response table. table-responsive

 

Form

1. Use the label and control in combination to get the best arrangement in. from-group {margin-bottom}

2. <input>, <select>, and <textarea> Add class. form-control {width/padding/border-radius/border}

3. inline form. form-inline

4. horizontal arrangement. form-horizontal + grid class +. control-label

5. input box input: text is almost the style that comes with the browser

6. text field input: textarea comes with style in almost the browser

7. Single-choice and multiple-choice div +. radio/. radio-inline/. checkkbox/. checkbox-inline + attribute disabled/. disabled

8. inline single-choice and multiple-choice. radio-inline/. checkbox-inline

9. The drop-down list shows almost the style that comes with the browser.

10. Static control. form-control-staitic + p

11. disable the disable attribute {cursor/background-color}

12. disable all controls contained in the <filedset> disable attribute

13. readonly attribute {background-color}

14. Check the status. has-success. has-warning. has-error

15. Check status + icon. has-feedback + feedback icon

16. horizontal arrangement/inline + verification + icon. form-horizontal/. form-inline + verification class +. has-feedback + feedback icon

17. Control size. input-lg {height/padding/border-radius/font-size}

18. horizontal layout widget size. form-group-lg/. form-group-sm

19. Column size grid class. row +. col-**-* Size Control

Related Article

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.