Css short for vertical-align background font

Source: Internet
Author: User

Css short for vertical-align background font

1. vertical-align: sub (subscript) | super (superscript) | 5px (move up) |-5px (move down) | top | bottom | text-top | middle2. background Image position: background-position: Portrait (top | center | bottom) horizontal (left | center | right ); // Note: to use this css, you must first set the background to background-attachment: fixed. If only one value is left blank, the default value is center. For example, body {background-position: top right; background-attachment: fixed;} abbreviated form of background-color | background-image | background-repeat | background-attachment | background-position example :. bg01 {background-color: # FFCC66; background-image: url ("path/bgFile.gif"); background-repeat: no-repeat; background-attachment: fixed; background-position: left top;} can be abbreviated :. bg01 {background: # FFCC66 url ("path/bgFile.gif") no-repeat fixed left top;} 3. list: list-style-type: none | disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alphalist-style-position: the inside list item is relatively shifted to the right. | the outside list item is normally displayed (default). Simplified Form: list-style: circle inside url ("sdf.jpg"); 4. simplified form of font: font-style | font-variant | font-weight | font-size | font-family example :. fontStyle01 {font-style: italic; font-variant: small-caps; font-weight: bold; font-size: 30px; font-family: arial, sans-serif ;} the preceding style is abbreviated :. fontStyle01 {font: italic small-caps bold 12px arial, verdana ;}


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.