The CSS list properties allow you to place the list-item marker, change between different list-item markers, or set an image as the list-item marker.
CSS列表属性答应你来安置列表项标记,改变标记的样子或者将图片变为列表项的标记
无序列表不同样子的列表标记 The different list-item markers in unordered lists
This example demonstrates the different list-item markers in CSS.
Examples 实例:
代码调试框 [www.dedecms.com]
- Coffee
- Tea
- Coca Cola
- www.dedecms.com
- Coffee
- Tea
- Coca Cola
- www.dedecms.com
- Coffee
- Tea
- Coca Cola
- www.dedecms.com
- Coffee
- Tea
- Coca Cola
- www.dedecms.com
有序列表不同样子的列表标记 The different list-item markers in ordered lists
This example demonstrates the different list-item markers in CSS.
Examples 实例:
代码调试框 [www.dedecms.com]
- Coffee
- Tea
- Coca Cola
- www.dedecms.com
- Coffee
- Tea
- Coca Cola
- www.dedecms.com
- Coffee
- Tea
- Coca Cola
- www.dedecms.com
- Coffee
- Tea
- Coca Cola
- www.dedecms.com
- Coffee
- Tea
- Coca Cola
- www.dedecms.com
设置图片做为标记 Set an image as the list-item marker
This example demonstrates how to set an image as the list-item marker.
Examples 实例:
代码调试框 [www.dedecms.com]
- Coffee
- Tea
- Coca Cola
- www.dedecms.com
安置列表标记 Place the list-item marker
This example demonstrates where to place the list-item marker.
Examples 实例:
代码调试框 [www.dedecms.com]
This list has a list-style-position with a value of "inside":
- Earl Grey Tea - A fine black tea
- Jasmine Tea - A fabulous "all purpose" tea
- Honeybush Tea - A super fruity delight tea
- www.dedecms.com
This list has a list-style-position with a value of "outside":
- Earl Grey Tea - A fine black tea
- Jasmine Tea - A fabulous "all purpose" tea
- Honeybush Tea - A super fruity delight tea
- www.dedecms.com
快速声明所有列表属性 All list properties in one declaration
This example demonstrates a shorthand property for setting all of the properties for a list in one declaration.
Examples 实例:
代码调试框 [www.dedecms.com]
- Coffee
- Tea
- Coca Cola
- www.dedecms.com
The CSS list properties allow you to place the list-item marker, change between different list-item markers, or set an image as the list-item marker.
CSS列表属性答应你安置列表标记,改变列表标记的样子或设置一图片做列表的标记
发表回复