# CSS for only some background cards

**URL:** <https://community.glideapps.com/t/css-for-only-some-background-cards/28427>\
**Category:** Ask for Help\
**Created:** [June 27, 2021, 9:15pm UTC](https://community.glideapps.com/t/css-for-only-some-background-cards/28427 "2021-06-27T21:15:19Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)\
**Post date:** [June 28, 2021, 2:55pm UTC](https://community.glideapps.com/t/css-for-only-some-background-cards/28427/26 "2021-06-28T14:55:48Z")

</div>

Hello @ThinhDinh

Sorry for not being able to make your wishes come true 😉

the Card structure does not allow conditional CSS.  
You can only do conditional for “Role” type tags, like an “Aria-checkbox” for example, which has an “aria-checked” attribute. I have already used this method for my CSS “UpDown” [CSS Up/Down for Visibility](https://community.glideapps.com/t/css-up-down-for-visibility/27861)

---

_[View the full topic](https://community.glideapps.com/t/css-for-only-some-background-cards/28427)._
