# Why use of W3.CSS change text Font?

**URL:** <https://discourse.nodered.org/t/why-use-of-w3-css-change-text-font/46515>\
**Category:** Dashboard\
**Created:** [31 May 2021 15:51 UTC](https://discourse.nodered.org/t/why-use-of-w3-css-change-text-font/46515 "2021-05-31T15:51:50Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [2 June 2021 08:00 UTC](https://discourse.nodered.org/t/why-use-of-w3-css-change-text-font/46515/3 "2021-06-02T08:00:55Z")

</div>

Thanks @hotNipi nice trick 🤩:

> [@Reduced Line Spacing](https://discourse.nodered.org/t/reduced-line-spacing/46346/5):
>
> But best would be to have full control over those lines so create text lines with spans and give them classes so you can style them with CSS in one place. Makes life way easier. [{"id":"510773b5.7aed1c","type":"ui\_text","z":"c0ddb509.b04f48","group":"93fae10c.09faa","order":6,"width":0,"height":0,"name":"","label":"Label is here","format":"\<span class=\"firstline\"\>text first line\</span\>\<br\>\<span class=\"secondline\"\>text second line\</span\>","layout":"row-spread","x":480,"y":1540,"wires":[]},{"…

---

_[View the full topic](https://discourse.nodered.org/t/why-use-of-w3-css-change-text-font/46515)._
