In CSS marker-offset, what does marker mean? What role does it play? and usage?
Name: marker-offset
Category: List
Brief description: Set the horizontal spacing of the marker class container
Overview: marker-offset is the style for setting the horizontal spacing of the marker class container (Style ).
marker-offset detailed description syntax:
marker-offset : auto | length
Value:
auto:? Default value. The browser automatically sets the spacing
length :? A length value consisting of a floating point number and a unit identifier. Can be negative.
Note: This style is not widely supported yet
marker: logo, mark
marker-offset is the distance between the two containers close to each other. Usage such as { display: marker; marker-offset: 5px; }
marker specifies content before or after the container object . For display, use display:after and the like together with
CSS attribute: marker-offset
In: Web Design by Ailin marker-offset
Version: CSS2 Compatible Properties: None Inheritance Properties: Yes
Syntax:
marker-offset : auto | length
Values:
auto : Default value. The browser automatically sets the spacing
length: a length value consisting of a floating point number and a unit identifier. Can be negative.
Description:
Set or retrieve the horizontal padding between the mark container and the main container. That is, the distance between the two adjacent sides of the container.
Applies to elements whose display attribute value is marker.
The corresponding script feature is markerOffset.
Example:
li:before { display: marker; marker-offset: 5px;
The above is the detailed content of The function and usage of market-offset in css. For more information, please follow other related articles on the PHP Chinese website!