Css.. Paragraph style

Source: Internet
Author: User

Border picture boder-image:

Box Shadow Box-shadow:

Box-shadow:x axis offset y-axis offset [shadow blur radius] [shadow color] [projection mode]

Paragraph style

Row height

p{line-height:25px;}

p{line-height:150%;}

Paragraph indent

Text-align:left| Right| Center| Justify (Justify)

P{text-align:right;}

P{text-align:center;}

P{text-align:justify;} * Justify on both sides *

Text spacing

Letter-spacing:normal| Legth

p{letter-spacing:5px;}

Text overflow

Text-overflow:clip| Ellipsis

Paragraph Wrapping

Word-wrap:normal| Break-word

Background style

Background color

Background-color:transparent| Color

Body{background-color:red}

Background image

Background-image:none| URL (URL)

Background Tiling method

Background-repeat:repeat|no-repeat|repeat-x (tiled to x-axis) |repeat-y (tiled to Y-axis)

Background positioning

Background-position: Left-justified right-aligned mode

Body{background-position:left Bottom}

body{background-position:30%20px;}

Background origin,

The display area of the background

Background size

Background style abbreviations

After abbreviation

Css.. Paragraph style

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.