# Use CSS Variable instead of Python Script

**URL:** <https://forum.inductiveautomation.com/t/use-css-variable-instead-of-python-script/77501>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 7, 2023, 1:45am UTC](https://forum.inductiveautomation.com/t/use-css-variable-instead-of-python-script/77501 "2023-08-07T01:45:05Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![andrew.budaiev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrew.budaiev/32/72921_2.png) [@andrew.budaiev](https://forum.inductiveautomation.com/u/andrew.budaiev)\
**Post date:** [August 11, 2023, 6:17am UTC](https://forum.inductiveautomation.com/t/use-css-variable-instead-of-python-script/77501/26 "2023-08-11T06:17:54Z")

</div>

> [@Eugene49](#):
>
> Is there an advantage favoring the use of expression?

I'll link this post FYI, very useful read

> [@Building for Performance](https://forum.inductiveautomation.com/t/building-for-performance/71082/3):
>
> In this example, #3 is the most performant, though it could be argued that the performance gain in this instance would be negligible. Anytime you add an additional processing step you add latency. In general for the best performance I follow these guidelines: If you can achieve what you want with a binding, use a binding. Always use the binding type that is the most direct. (e.g. if all you need is a binding to a property use a property binding, not an expression binding.) Given the choice b…

---

_[View the full topic](https://forum.inductiveautomation.com/t/use-css-variable-instead-of-python-script/77501)._
