CSS use details

xiaoxiao2021-03-06  66

 Type of directory style (List style type)

Description:

Directory Style Item Properties Specify the type of directory item tag, when the directory style image value is None or when the image load option is turned off.

grammar:

List-style-type:

allowance:

DISC | Circle | Square | Decimal | Lower-Roman | Upper-Roman | Lower-Alpha | Upper-alpha | NONE

Initial value:

DISC

Applicable to:

Directory items with display values

Back down:

Yes

Directory Style Image (List Style Image)

Note: When the image load option is opened, the directory style image property uses which image to specify the directory item tag instead of the tag specified by the directory style type property. Syntax: List-style-image: Allow value: | NONE initial value: NONE Suitable for: directory item elements with display values ​​are compatible: Yes

Directory style location (List style position)

Description: Directory style location attributes can be used in INSIDE or Outside, where Outside is the default. Syntax: List-style-position: Allow value: Inside | OUTSIDE initial value: Outside Applicable: Directory item element with display value is compatible: Yes

Directory style (List style)

Description: The directory style property is a slight written in directory style type, directory style location, and directory style image properties. Syntax: List-style: Allow value: || || initial value: Undefined Applications: Directory item elements with display values ​​are compatible: Yes

Color and Background Properties

Color

Description: Color properties allow web makers to specify the color of an element. Syntax: Color: initial value: Decided by the browser to: all objects are compatible: Yes

Background color

Description: Background color properties Set the background color of an element. Syntax: Background-Color: Allow value: | Transparent (transparent) initial value: Transparent (transparent) Applicable: All objects are compatible down: No

Background image

Description: Background Image Properties Set the background image of an element. Syntax: Background-Image: Allow value: | NONE (None) initial value: NONE (None) Applicable: All objects are compatible: No

Background repeat

Description: Background Repeat Properties determine how a designated background image is repeated. When the value is REPEAT-X, the image is repeated during the image, and the image is repeated when the value is REPEAT-Y. Syntax: Background-repeat: Allow value: REPEAT | REPEAT-X | REAT-Y | NO-REPEAT initial value: Repeat Applicable: All objects are compatible: No

Background attachment

Description: Background Accessories Attributes Decide whether the designated background image is followed by scrolling, or is considered to be filling. Syntax: Background-attachment: Allow value: scroll | fixed initial value: Scroll Applicable: All objects are compatible down: No

Background position

Description: The image location attribute gives the initial position of the specified background image. This attribute can only be applied to block-level elements and replacement elements. Syntax: Background-Position: Allow value: [ | ] {1,2} | [top | center | bottom] || [left | center | Right] initial value: 0% 0% Suitable for: block-level and replacement elements, compatible: No background (Background)

Description: Background attribute is a more clear background-rational write. Syntax: Background: Allow value: || || || || Initial Value: Undefined Applications: All Objects Compatible: No

转载请注明原文地址:https://www.9cbs.com/read-90667.html

New Post(0)