D
D
Dymok2018-05-07 17:50:21
css
Dymok, 2018-05-07 17:50:21

How to make a flip card with dynamic content?

Hi all. In general, the layout has the following cards:

spoiler

Cлева - передняя сторона, справа - задняя, должна появляться при клике/ховере
5af066b80b1ef737170782.jpeg

I reviewed a bunch of examples of flipping cards, but they are all made according to the same principle (for example, here is codepen ): the container has a fixed height, and for the front and back sides position: absolute, width: 100%, height: 100%. That is, there is no overflow processing, but I would like to make it possible to make a flex container, put as many cards as needed in it, and so that they themselves adapt in height to the largest. Actually, maybe someone saw another implementation of a similar effect, without a fixed height?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
A person from Kazakhstan, 2018-05-07
@LenovoId

flip block css - search google | yandex

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question