When I scale an element I want see the vertical overflow but set invisible the horizontal overflow
I have several .cards inside my container. When I go with the mouse over a card I zoom in the card with the property scale(1.5)
. But I want that the zoomed in card overflow the container instead the part in overflow isn’t visible. To understand what is my goal it’s enough remove the overflow-x
and overflow-y
properties from the container. But in my case this isn’t a solution beacause I don’t want an horizontal scroll bar. Thus I thought to set: overflow-x:hidden
and overflow-y:visible
but doesn’t work. Someone can detect the problem and point out me a solution?