# Dashboard element css classes

**URL:** <https://discourse.nodered.org/t/dashboard-element-css-classes/46447>\
**Category:** Dashboard\
**Created:** [29 May 2021 12:41 UTC](https://discourse.nodered.org/t/dashboard-element-css-classes/46447 "2021-05-29T12:41:32Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [29 May 2021 17:31 UTC](https://discourse.nodered.org/t/dashboard-element-css-classes/46447/13 "2021-05-29T17:31:52Z")

</div>

> [@hotNipi](#):
>
> The concept of having class for every item is in straight conflict with css specification

In what way @hotNipi?

Bear in mind, it would add a class entry where you specify a value (if nothing was specified, nothing would be added to the class list)

What is the recommended way to style a groups of similar items these days? e.g. `.square-button { ... }`s and `.round-button { ... }`s?

---

_[View the full topic](https://discourse.nodered.org/t/dashboard-element-css-classes/46447)._
