将节中的列表样式从节的父级删除后带回
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了将节中的列表样式从节的父级删除后带回相关的知识,希望对你有一定的参考价值。
We use lists for all sorts of things, especiall navigation elements for which bullets don't make sense. Often, it is most convenient to remove bullet/list styles from all list elements globally. In fact many css resets do just that. However, there may be content areas where we do want bullets! The following css brings back the list styles for all list elements within a container with the class "bulletsAvailable". These values approximate the normal default browser behavior.
.bulletsAvailable ul, .bulletsAvailable ol {margin-left: 20px;} .bulletsAvailable ul {list-style-type: circle;} .bulletsAvailable ul li, .bulletsAvailable ol li {display: list-item; float:none; } .bulletsAvailable ul li { list-style-type:disc; } .bulletsAvailable ol li { list-style-type:decimal; }
以上是关于将节中的列表样式从节的父级删除后带回的主要内容,如果未能解决你的问题,请参考以下文章
ListView布局高度与Fragment中的RecyclerView内的父级不匹配
升级到 Qt 5.15 后,ListView 委托中的父级为空