# Button Style with conditions

**URL:** <https://community.glideapps.com/t/button-style-with-conditions/39825>\
**Category:** Ask for Help\
**Created:** [March 18, 2022, 6:23pm UTC](https://community.glideapps.com/t/button-style-with-conditions/39825 "2022-03-18T18:23:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 19, 2022, 3:13am UTC](https://community.glideapps.com/t/button-style-with-conditions/39825/4 "2022-03-19T03:13:05Z")

</div>

Does it need to be a button? Not sure how the data is set up, but might be possible to use an inline list \> tiles \> background color is conditional of whether it’s right or wrong.

If not, you can use buttons, but you’ll instead have 8…one of each red/green. Then add visibility conditions to show the correct color based on the answer.

---

_[View the full topic](https://community.glideapps.com/t/button-style-with-conditions/39825)._
