Home > Web Front-end > CSS Tutorial > The function and usage of market-offset in css

The function and usage of market-offset in css

黄舟
Release: 2017-06-29 14:03:10
Original
2294 people have browsed it

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
Copy after login
Copy after login


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
Copy after login
Copy after login

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;
Copy after login

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!

Related labels:
css
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template