Bootstrap study notes (ii) Typesetting and forms

Source: Internet
Author: User

First, H1~h6 label

Fixed different levels of title font size,H1=36px,h2=30px,h3=24px,h4=18px,h5=14px and h6=12px.

1, reset the value of margin-top and margin-bottom , h1~h3 after resetting the value is 20px; the value afterh4~h6 Reset is 10px.
2. All headings have a row height of 1.1(that is, 1.1 times times the Font-size), and the text color and font inherit the parent element's color and font.

Second, the H1~h6 label subtitle <small> label

< H1 > Bootstrap title One <small> I am subtitle </small></H1  >
H1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1. Small,.h1, Small,h2. Small,.h2. small,h3. small,.h3 {F ont-size:65%;} H4,.h4,h5,.h5,h6,.h6 {margin-top:10px;margin-bottom:10px;} H4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4. Small,.h4, Small,h5. Small,.h5. Small,h6. Small,.h6 { font-size:75%;}

1, row height are 1, and font-weight set the normal effect (not bold), and the color is set to Gray (#999).
2, because the text font within the <small> inside the h1~h3 , its size is set to the current font size of 65%; H4~h6 The font size inside is set to the 75% of the current font size ;

Third, the body tag and the initial set of P tags

Body {font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:14px; line-height:1.42857143; color: #333; b Ackground-color: #fff;}

P {margin:0 0 10px;}

1, Row height is 1.42857143 (line-height), about 20px

Bootstrap study notes (ii) Typesetting and forms

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.