M
M
myskypesla2017-03-19 17:41:47
css
myskypesla, 2017-03-19 17:41:47

How to overcome overflow hidden in a slider?

There is a slider that shows 4 pictures.
You need to make the image enlarge on hover. I do it with transfrom: scale();
But since the slider has overflow hidden, the image is cut off accordingly at the edges. How to overcome?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
desgan, 2018-11-22
@desgan

If a block with overflow: hidden is static (position:static - all blocks are static by default) then its children with position:absolute will ignore the overflow property.

O
Oleg, 2018-01-14
@aliasst

If you really need to, you can pervert)) https://jsfiddle.net/Politonius/d9amymxg/

D
doublench21, 2018-01-14
@doublench21

Well, can't you just think a little with your head? Find any vector editor and draw there, and then export svg if the picture doesn't suit you. Now to make such a logo ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question