Home  >  Article  >  Web Front-end  >  Detailed introduction to list styles

Detailed introduction to list styles

巴扎黑
巴扎黑Original
2017-06-10 17:33:182751browse

CSS List CSS list properties function as follows: Set different list items to be marked as ordered lists Set different list items to be marked as unordered lists Set list items to be marked as image lists In HTML, there are two types of lists: none Sequenced list - list items are marked with special graphics (such as small black dots, small boxes, etc.) Ordered list - list items are marked with numbers or letters Using CSS, further styles can be listed, and images can be used as list item marks. Different list item markers The list-style-type attribute specifies the type of list item marker:: Example ul.a {list-style-type: circle;} ul.b {list-style-type: square;} ol.c {list-style-type: upper-roman;} ol.d {list-style-type: lower-alpha;} Some values ​​are unordered lists, and some are ordered lists. As a list

1. Example explanation of CSS list style

Detailed introduction to list styles

##Introduction: CSS list CSS list properties function as follows: Set different list items to be marked as ordered lists Set different list items to be marked as unordered lists Set list items to be marked as image lists In HTML, there are two types of lists: Unordered...

2. CSS All List Style Types_html/css_WEB-ITnose

Introduction : CSS all list style types

3. CSS: List style (set the logo pattern/position of list items)_html/css_WEB-ITnose

Introduction: CSS: List style (setting the logo pattern/position of the list item)

4. Web page custom selection box Select_HTML/Xhtml _Web page production

Detailed introduction to list styles

##Introduction: The result of this is obviously visually unified with the overall style of the website, And the drop-down list style is very beautiful, but it also brings some adverse reactions. Because it is made with JS, it will encounter many unexpected effects. Let's analyze their respective flaws one by one through the three tester websites.

[Related Q&A recommendations]:

android - How is a list style like the Zhihu settings page implemented?

javascript - HTML binding event loaded by ajax

Web page text displays a fixed number of lines by default. How to implement it when clicking a button to display all?

Front-end - How to name the class .newsList Isn’t naming this kind of thing too semantic? ~

javascript - What is the implementation principle of Alibaba homepage carousel? When the carousel moves, no change in style is seen. Why is this?

The above is the detailed content of Detailed introduction to list styles. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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