CSS: Detailed explanation of how to use marker-offset

黄舟
Release: 2017-06-29 13:57:39
Original
2933 people have browsed it

CSSPropertiesmarker-offset

In:Web Design by Ailin marker-offset

Version: CSS2 Compatibility: NoneInheritance: Yes

Marker-offset can be followed by auto or length

Among them,

auto: The browser automatically sets the spacing

length: A length value consisting of a floating point number and a unit identifier. Can be negative. See length unit

 Marker-offset description:

Sets or retrieves the horizontal padding between the marker container and the main container. That is, the distance between the two adjacent sides of the container.

Currently IE5.5 does not support this attribute.

The corresponding script feature is markerOffset. Please see other books I have written.

Marker-offset code example:

  li:before { display: marker; marker-offset: 5px; }
Copy after login

Syntax:

marker-offset: auto | length

Parameters:

auto: The browser automatically sets the spacing
length: A length value composed of a floating point number and a unit identifier. Can be negative. See length unit

Description:

Sets or retrieves the horizontal padding between the mark container and the main container. That is, the distance between the two adjacent sides of the container.
Currently IE5.5 does not support this attribute.
The corresponding script feature is markerOffset. Please see other books I have written.

Example:

li:before { display: marker; marker-offset: 5px; }
Copy after login

The above is the detailed content of CSS: Detailed explanation of how to use marker-offset. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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