CSS to use the detailed

Source: Internet
Author: User
css| detailed

 directory Style type (list style type)
Description
The Catalog Style Item property specifies the type of the catalog item tag, used when the catalog style image value is None or when the image load option is turned off.
Grammar:
List-style-type: < value >
Allowed values:
Disc | Circle | Square | decimal | Lower-roman | Upper-roman | Lower-alpha | Upper-alpha | None
Initial value:
Disc
Apply to:
Table item element with display value
Backward
Is

Catalog style image (list style images)

Description
When the image load option is turned on, the catalog Style image property uses which image in the specified directory item tag to replace the tag specified by the Directory Style Type property.
Grammar:
List-style-image: < value >
Allowed values:
<url> | None
Initial value:
None
Apply to:
Table item element with display value
Backward
Is

TOC style location (List style Position)

Description
The Directory Style Location property can be value inside (internal) or outside (external), where outside is the default value.
Grammar:
List-style-position: < value >
Allowed values:
Inside | Outside
Initial value:
Outside
Apply to:
Table item element with display value
Backward
Is

TOC style (list style)

Description
The TOC style properties are the directory style type, the directory style location, and the outline of the catalog style image properties.
Grammar:
List-style: < value >
Allowed values:
< directory style Type > | | < directory style location > | | <url>
Initial value:
Not defined
Apply to:
Table item element with display value
Backward
Is

Color and background attributes (color and Background properties)

Colors (color)

Description
Color properties allow a Web page creator to specify the color of an element.
Grammar:
Color: < colors >
Initial value:
decided by the browser
Apply to:
All objects
Backward
Is

Background colors (Background color)

Description
Background Color property sets the background color of an element.
Grammar:
Background-color: < value >
Allowed values:
< color > | Transparent (transparent)
Initial value:
Transparent (transparent)
Apply to:
All objects
Backward
Whether

Background images (Background image)

Description
Background Image Property Sets the background image of an element.
Grammar:
Background-image: < value >
Allowed values:
< Unified resource Positioning Urls> | None (None)
Initial value:
None (None)
Apply to:
All objects
Backward
Whether

Background repetition (Background Repeat)

Description
The background repeat property determines how a specified background image is duplicated. When the value is Repeat-x, the image is duplicated horizontally, and the image is duplicated vertically when repeat-y.
Grammar:
Background-repeat: < value >
Allowed values:
Repeat | Repeat-x | repeat-y | No-repeat
Initial value:
Repeat
Apply to:
All objects
Backward
Whether

Background attachment (Background attachment)

Description
The background Attachment property determines whether the specified background image scrolls with the content or is considered to be fixed.
Grammar:
Background-attachment: < value >
Allowed values:
Scroll | Fixed
Initial value:
Scroll
Apply to:
All objects
Backward
Whether

Background position (Background Position)

Description
The image Position property gives the initial position of the specified background image. This property can only be applied to block-level elements and substitution elements.
Grammar:
Background-position: < value >
Allowed values:
[< percent > | < length {1,2} | [Top | center | bottom] | | [Left | center | right]
Initial value:
0% 0%
Apply to:
Block level and replacement elements
Backward
Whether

Background (Background)

Description
The Background property is a more explicit background-a brief write of the relationship attribute.
Grammar:
Background: < value >
Allowed values:
< background color > | | < background image > | | < background repeat > | | < background accessories > | | < background position >
Initial value:
Not defined
Apply to:
All objects
Backward
Whether



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.