# CSS class on Body tag to distinguish homepage / non-category page

**URL:** <https://meta.discourse.org/t/css-class-on-body-tag-to-distinguish-homepage-non-category-page/51201>\
**Category:** Feature\
**Created:** [2016 年10 月 7 日 00:15 UTC](https://meta.discourse.org/t/css-class-on-body-tag-to-distinguish-homepage-non-category-page/51201 "2016-10-07T00:15:01Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

作者： ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
发布日期： [2022 年7 月 31 日 20:26 UTC](https://meta.discourse.org/t/css-class-on-body-tag-to-distinguish-homepage-non-category-page/51201/10 "2022-07-31T20:26:59Z")

</div>

您好 David，

是的，`.navigation-topics` 是一个 `body` 类，仍然可用。 🙂

 ![Screenshot 2022-07-31 at 22.22.25](https://global.discourse-cdn.com/meta/original/4X/f/6/0/f60c1e0528e314f1f669e4c4e2c68a3f1aeeaae8.png)

---

_[View the full topic](https://meta.discourse.org/t/css-class-on-body-tag-to-distinguish-homepage-non-category-page/51201)._
