# How to stop button default style from showing when page loads up

**URL:** <https://forum.inductiveautomation.com/t/how-to-stop-button-default-style-from-showing-when-page-loads-up/104464>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 31, 2025, 5:16pm UTC](https://forum.inductiveautomation.com/t/how-to-stop-button-default-style-from-showing-when-page-loads-up/104464 "2025-03-31T17:16:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keari0913](https://avatars.discourse-cdn.com/v4/letter/k/c77e96/32.png) [@keari0913](https://forum.inductiveautomation.com/u/keari0913)\
**Post date:** [March 31, 2025, 5:16pm UTC](https://forum.inductiveautomation.com/t/how-to-stop-button-default-style-from-showing-when-page-loads-up/104464/1 "2025-03-31T17:16:45Z")

</div>

I have buttons that have bindings on their **style.classes** & **style.backgroundColor** properties that make them change color based on a device's state. When I open the views within a session, The buttons' default out of the box color is showing for a split secon when the page loads. Is there a way to prevent this?

![button-default-color](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/1/511d0123deab3ade4cc3b1b2083a9e6b6495e51b.gif)
