Currently, I am developing a reviews microservice for an e-commerce platform using react and react-bootstrap. My goal is to showcase 5 reviews initially, followed by a button to expand and reveal more reviews. In order to achieve this, I envision the bottom edge of my review components within the reviewList component to be faded until the user clicks on the expand button.
I found a perfect example on Etsy that captures exactly how I want it to look.
Despite experimenting with various CSS techniques and react-bootstrap, I have been unsuccessful in achieving the desired effect. Specifically, I only want the bottom portion of the entire reviewList component to fade out.
Take a look at this example:
In the example provided, you can see that the bottom of the last review fades out.
Ultimately, my expectation is to keep the bottom area faded until the expand button is clicked. However, all my attempts have only resulted in animating or fading each individual review component.