# Need to target topics & author for CSS

**URL:** <https://meta.discourse.org/t/need-to-target-topics-author-for-css/33027>\
**Category:** Feature\
**Created:** [September 8, 2015, 5:56pm UTC](https://meta.discourse.org/t/need-to-target-topics-author-for-css/33027 "2015-09-08T17:56:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [September 8, 2015, 6:05pm UTC](https://meta.discourse.org/t/need-to-target-topics-author-for-css/33027/2 "2015-09-08T18:05:31Z")

</div>

You can already do that using “`data-topic-id`” and “`data-user-id`” 😉

```stylesheet
[data-topic-id="33027"] {
  [data-user-id="1995"] {
    /* rules goes here */
  }
}

```

---

_[View the full topic](https://meta.discourse.org/t/need-to-target-topics-author-for-css/33027)._
