CSS list:
Properties
| Description
| ||||||||||||||||||||||||||||||||||||||||||||
list-style
| Abbreviation attribute. Used to set all properties for a list in one declaration. | ||||||||||||||||||||||||||||||||||||||||||||
list-style-image | Sets the image as the list item flag. | ||||||||||||||||||||||||||||||||||||||||||||
list-style-position | Set the position of the list item mark in the list. | ||||||||||||||||||||||||||||||||||||||||||||
list-style-type | Set the type of list item flag. | ||||||||||||||||||||||||||||||||||||||||||||
marker-offset |
|
值 | 描述 |
URL | 图像的路径。 |
none | 默认。无图形被显示。 |
inherit | 规定应该从父元素继承 list-style-image 属性的值。 |
Value | Description |
none | No tag. |
disc | Default. Markers are filled circles. |
circle | The mark is a hollow circle. |
square | Markers are solid squares. |
decimal | Markers are numbers. |
decimal-leading-zero | Number tag starting with 0. (01, 02, 03, etc.) |
lower-roman | Lowercase Roman numerals (i, ii, iii, iv, v, etc.) |
upper-roman | Uppercase Roman numerals (I , II, III, IV, V, etc.) |
lower-alpha | Lowercase English letter The marker is lower-alpha (a, b, c, etc.) |
upper-alpha | uppercase English letters The marker is upper-alpha (A, B, C, etc.) |
lower-greek | Lowercase Greek letters (alpha, beta, gamma, etc.) |
lower-latin | lowercase Latin letters (a, b, c, etc.) |
upper-latin | Uppercase Latin letters (A, B, C, etc.) |
hebrew | Traditional Hebrew numbering |
armenian | Traditional Armenian numbering |
georgian | Traditional Georgian numbering (an, ban, gan, etc.) |
cjk-ideographic | Simple ideographic numbers |
hiragana | The tags are: a, i, u, e, o, ka, ki, etc. (Japanese katakana) |
katakana | The tags are: A, I, U, E, O, KA, KI, etc. (Japanese Katakana) |
hiragana-iroha | The tags are: i, ro, ha, ni, ho, he, to, etc. (Japanese katakana) |
katakana-iroha | The tags are: I, RO, HA, NI, HO, HE, TO, etc. (Japanese katakana) |
value | Description |
URL | Path to the image. |
none | Default. No graphics are displayed. |
inherit | Specifies that the value of the list-style-image attribute should be inherited from the parent element. |
(3) Browser support: All browsers support the list-style-image attribute.
Ps: Always specify a "list-style-type" attribute in case the image is not available.
3. List mark position: list-style-position attribute
(1) Function: Set where to place the list Item tag;
(2) Possible values:
Value
| Description
| ||||||||
inside
| The list item tag is placed inside the text, And the wrapping text is aligned according to the marker.
| ||||||||
outside | Default value. Keep the mark to the left of the text. The list item tag is placed outside the text, and the surrounding text is not aligned according to the tag. | ||||||||
inherit | Specifies that the value of the list-style-position attribute should be inherited from the parent element. |
(3) Browser support: All browsers support the list-style-position attribute.
4. Abbreviated list style: list-style attribute
(1) Function: Set all list attributes in one statement;
( 2) Order: type, position, image;
Ps: The values of list-style
can be listed in any order, and these values can be ignored. As long as one value is provided, the others will be filled in with their default values.
The official account web page update cache, this thing is simple and simple, and it is complicated enough to drink a pot of it. You worked hard to update the official account article, but the user still opened the old version. Who can bear the taste? In this article, let’s take a look at the twists and turns behind this and how to solve this problem gracefully. After reading it, you can easily deal with various caching problems, allowing your users to always experience the freshest content. Let’s talk about the basics first. To put it bluntly, in order to improve access speed, the browser or server stores some static resources (such as pictures, CSS, JS) or page content. Next time you access it, you can directly retrieve it from the cache without having to download it again, and it is naturally fast. But this thing is also a double-edged sword. The new version is online,

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

This article demonstrates efficient PNG border addition to webpages using CSS. It argues that CSS offers superior performance compared to JavaScript or libraries, detailing how to adjust border width, style, and color for subtle or prominent effect

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

This article explains the HTML5 <time> element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

Notepad++7.3.1
Easy-to-use and free code editor

Atom editor mac version download
The most popular open source editor
