css自定义列表标签
Have you ever wanted more control over your HTML list bullets? In this screencast I show you how to use CSS counters for greater flexibility in building custom lists or any other kind of sequence in which you want automatic numbering. This technique allows for complete control over the list bullets, and there are even more neat functionalities that you maybe didn’t know existed in CSS.
您是否曾经想要更好地控制HTML列表项目符号? 在此截屏视频中,我向您展示如何使用CSS计数器在构建自定义列表或希望自动编号的任何其他类型的序列中提供更大的灵活性。 这项技术可以完全控制列表项目符号,甚至还有CSS中可能还不存在的更简洁的功能。
You can find the code samples for the screencast on GitHub.
您可以在GitHub上找到截屏的代码示例。
翻译自: https://www.sitepoint.com/watch-custom-lists-with-css-counters/
css自定义列表标签