# 防止上次访问栏弄乱颜色

**URL:** <https://meta.discourse.org/t/prevent-last-visit-bar-from-messing-up-colors/216509>\
**Category:** Product Support\
**Tags:** plugin-api\
**Created:** [2022 年1 月 30 日 19:49 UTC](https://meta.discourse.org/t/prevent-last-visit-bar-from-messing-up-colors/216509 "2022-01-30T19:49:58Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

作者： ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
发布日期： [2022 年2 月 2 日 23:04 UTC](https://meta.discourse.org/t/prevent-last-visit-bar-from-messing-up-colors/216509/7 "2022-02-02T23:04:59Z")

</div>

> [@orangeandblack5](#):
>
> “最后访问”栏不应被计为子项，以便 nth-child 确定其背景颜色。

能否在此处使用更具体的选择器来实现纯 CSS 解决方案？

可以分享您当前 CSS 规则的代码片段吗？

---

_[View the full topic](https://meta.discourse.org/t/prevent-last-visit-bar-from-messing-up-colors/216509)._
