Closed maxatdetroit closed 4 months ago
Update the article card component to have a show boolean attribute on the element. If active, the article card text container is displayed in full, otherwise, only the title is displayed (the default state). Also, use the same transition as :hover.
show
:hover
This will be used in https://github.com/CityOfDetroit/detroitmi/pull/1599 to create an on-scroll animation effect.
https://github.com/user-attachments/assets/8c4845ae-4ff5-4478-870c-d71c6bbad17c
Changes Proposed
Update the article card component to have a
show
boolean attribute on the element. If active, the article card text container is displayed in full, otherwise, only the title is displayed (the default state). Also, use the same transition as:hover
.This will be used in https://github.com/CityOfDetroit/detroitmi/pull/1599 to create an on-scroll animation effect.
Testing
https://github.com/user-attachments/assets/8c4845ae-4ff5-4478-870c-d71c6bbad17c