# Need Help - CSS For background Of Card Based Of Dynamic Data

**URL:** <https://community.glideapps.com/t/need-help-css-for-background-of-card-based-of-dynamic-data/76896>\
**Category:** Ask for Help\
**Tags:** custom-css\
**Created:** [October 7, 2024, 9:33pm UTC](https://community.glideapps.com/t/need-help-css-for-background-of-card-based-of-dynamic-data/76896 "2024-10-07T21:33:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Sekayi\_Liburd](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sekayi_liburd/32/77608_2.png) [@Sekayi\_Liburd](https://community.glideapps.com/u/Sekayi_Liburd)\
**Post date:** [October 7, 2024, 11:00pm UTC](https://community.glideapps.com/t/need-help-css-for-background-of-card-based-of-dynamic-data/76896/2 "2024-10-07T23:00:50Z")

</div>

I’m not sure if there is CSS that can dynamically change each card background within a collection but you can use an if-then-else column to display the image you want (red/yellow/etc.) and use CSS to overlay your text similar to what was done here:

> [@Transform your card collection into stunning photo galleries 🎞️](https://community.glideapps.com/t/transform-your-card-collection-into-stunning-photo-galleries/73292):
>
> rocket Check this out, just some simple css can transform your card collection into a nice photo gallery [[Glide Apps - Create interactive photo galleries] ](https://www.youtube.com/watch?v=4zgeF4zu61I)

---

_[View the full topic](https://community.glideapps.com/t/need-help-css-for-background-of-card-based-of-dynamic-data/76896)._
