# 工具栏上齿轮图标的 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:** 5

<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 月 15 日 19:34 UTC](https://meta.discourse.org/t/css-hover-class-of-the-gear-icon-on-the-toolbar/101982/5 "2018-11-15T19:34:00Z")

</div>

Just an FYI: I’ve removed some extra specificity here, so now something like this should be enough to simultaneously style all the hover states for the editor buttons

```CSS
.discourse-no-touch .d-editor-button-bar button:hover {
  background: khaki; 
  color: salmon;
}

```

---

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