The function and usage of market-offset in CSS

Source: Internet
Author: User
What is the meaning of marker-offset,marker in CSS? What role does it play? and usage?

Name: Marker-offset
Category: List
Description: Set the horizontal spacing of the marker class container
Overview: Marker-offset is a style (style) that sets the horizontal spacing of the marker class container.
Marker-offset Detailed Syntax:

Marker-offset:auto | Length


Value:

Auto:? The default value. The browser automatically sets the spacing
Length:? The length value consisting of floating-point numbers and unit identifiers. Can be a negative value.

Description: This style is not yet widely supported

Marker: Logo, logo

Marker-offset is the spacing of two containers close to one side. Usage such as {display:marker; marker-offset:5px;}
Marker is the specified content before or after the container object. For display, use a display:after or something.

CSS Properties: Marker-offset
In:web Design by Ailin Marker-offset
Version: CSS2 Compatibility: No inheritance: Available
Grammar:

Marker-offset:auto | Length

Value:
Auto: Default value. The browser automatically sets the spacing
Length: A value consisting of a floating-point number and a unit identifier. Can be a negative value.

Description
Sets or retrieves the horizontal padding between the tag container and the main container. That is, the spacing of two containers close to one side.
An element that acts on the display property value of marker.
The corresponding script attribute is markeroffset.
Example:

Li:before {display:marker; marker-offset:5px;

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.