I have 4 cards. I am trying to put a boarder around only 1 card.
I can put a border around all 4 but not just 1.
here is my code:
div[data-testid=“card-image”] {
border-radius: 8%;
border-color: grey;
border-width: 3px;
}
I have 4 cards. I am trying to put a boarder around only 1 card.
I can put a border around all 4 but not just 1.
here is my code:
div[data-testid=“card-image”] {
border-radius: 8%;
border-color: grey;
border-width: 3px;
}
Do you have any differences in that card comparing to the other cards? I have an idea that I think would work, but need more information here.
No differences
Then why do you want to pick only 1 card out of them? Will it be just a random card?
Each card has a different picture
I want to highlight 1 card based on date condition
The use of conditions for CSS is very limited in the new Glide. However, there is a workaround. Could you please explain it in more detail?
I have 4 cards with different pics. I would like to have a border around only 1 card.
I can put a border around all 4 but no luck with just 1 card.
How about your date conditioning, will it change the order as well?
CSS can solve this, but you might have to tell us more about your date conditioning.
I will change the code based on the date