I want responsive "show more" and "show less" buttons on my react page

Viewed 48

What I am trying to achieve is that when we click the see more button and the width is more than 580, the right side div (Learn Guru) should open on right side like this:

like this image

When we click the see more button and width is less than 580, the right side content should be opened at the bottom of that particular div like the following image. It should open that div only, and not all the divs.

see image 2

When we click see less, the right side content should be closed like this image:

enter image description here

0 Answers
Related