D
D
Denis Bukreev2016-10-28 16:26:51
css
Denis Bukreev, 2016-10-28 16:26:51

How to get 3D effect when flipping an element?

Such cases: ptosnm.ru/ru/issues?year=2014
When turning the plate over, its colored part goes beyond the borders - one side increases, the other decreases.
I was only able to achieve a "flat" flip - both sides are always the same height and it feels like the element is shrinking rather than flipping.
I scoured the css on this page for a long time, but did not understand PREKOLA.
What creates such an effect?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DTX, 2016-11-02
@denisbookreev

The perspective property of .month-issues .month-issues-item
To disable 3D, you can write transform-style: flat;
Or set the perspective to a very high value.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question