# 工具栏上齿轮图标的 CSS 悬停类？

**URL:** <https://meta.discourse.org/t/css-hover-class-of-the-gear-icon-on-the-toolbar/101982>\
**Category:** UX\
**Created:** [2018 年11 月 14 日 02:16 UTC](https://meta.discourse.org/t/css-hover-class-of-the-gear-icon-on-the-toolbar/101982 "2018-11-14T02:16:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
发布日期： [2018 年11 月 14 日 02:30 UTC](https://meta.discourse.org/t/css-hover-class-of-the-gear-icon-on-the-toolbar/101982/2 "2018-11-14T02:30:43Z")

</div>

That button is structured a bit differently because it’s a dropdown… but the CSS is definitely too specific and it should have its styling applied like the other buttons. I’ll add improving that to my to-do list so it’s easier in the future, but for now you want:

```CSS
.toolbar-popup-menu-options .dropdown-select-box-header:hover {
  background: khaki;
    .d-icon {
      color: salmon;
    }
}

```

---

_[View the full topic](https://meta.discourse.org/t/css-hover-class-of-the-gear-icon-on-the-toolbar/101982)._
