# Be able to bind custom css and have text style inside a html element

**URL:** <https://community.weweb.io/t/be-able-to-bind-custom-css-and-have-text-style-inside-a-html-element/14980>\
**Category:** Ask us anything\
**Created:** [December 16, 2024, 10:33am UTC](https://community.weweb.io/t/be-able-to-bind-custom-css-and-have-text-style-inside-a-html-element/14980 "2024-12-16T10:33:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolatoledo.dev](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/nicolatoledo.dev/32/10522_2.png) [@nicolatoledo.dev](https://community.weweb.io/u/nicolatoledo.dev)\
**Post date:** [December 16, 2024, 10:33am UTC](https://community.weweb.io/t/be-able-to-bind-custom-css-and-have-text-style-inside-a-html-element/14980/1 "2024-12-16T10:33:05Z")

</div>

it would be great to be able to have all the properties in a custom html element for example being able to set the text color and the binding of a variable inside the custom css

in my use case i need to change the text color of an html element dynamically

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/e/e3ab20a91ecc3c4dc9666d4ad783791c435cc170.jpeg)

---

<div class="post-metadata">

**Author:** ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)\
**Post date:** [December 16, 2024, 12:32pm UTC](https://community.weweb.io/t/be-able-to-bind-custom-css-and-have-text-style-inside-a-html-element/14980/2 "2024-12-16T12:32:07Z")

</div>

Hi @nicolatoledo.dev 👋

For feature requests, please use [https://feedback.weweb.io/](https://feedback.weweb.io/) instead of the community. Thank you. 🙂
