# Change border color to text input node

**URL:** <https://discourse.nodered.org/t/change-border-color-to-text-input-node/13288>\
**Category:** Dashboard\
**Created:** [15 July 2019 08:25 UTC](https://discourse.nodered.org/t/change-border-color-to-text-input-node/13288 "2019-07-15T08:25:56Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![arjak11](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@arjak11](https://discourse.nodered.org/u/arjak11)\
**Post date:** [13 July 2022 15:07 UTC](https://discourse.nodered.org/t/change-border-color-to-text-input-node/13288/9 "2022-07-13T15:07:26Z")

</div>

😇 I think I figured it out myself and will share it here in case someone is trying to do the same. Inspired by this thread: [Dashboard element css classes - #13 by Steve-Mcl](https://discourse.nodered.org/t/dashboard-element-css-classes/46447/13)

To target an individual node, use its node id (found in the sidebar under the Info tab), e.g.

```auto
<style>
[node-id="00000x00.x000x0"] {border: {{((msg.payload === "something")) ? 'red' : 'transparent'}} 1px dashed;}
</style>

```

Hope it helps~

---

_[View the full topic](https://discourse.nodered.org/t/change-border-color-to-text-input-node/13288)._
