How to make a block of images?

as he received no response, please re-create topic. Sorry for the spam.
We have 5 images, 1 increased active and when navodit to another it becomes active and increases.
I wrote a solution when all images are initially inactive, and how to make active the middle block? And to perform image same movement? The link to previous topic
How to make a picture gallery?
July 8th 19 at 16:03
1 answer
July 8th 19 at 16:05
Solution
Add a class something like .is-active, with the same rules as for the :hover effect.
A script processed the mouse is over the neighboring blocks. If the cursor is over the unit take the class .is-active and clean up your event handling.
since I j 0 just need when we pack an item we lost a block of asset? - Deon98 commented on July 8th 19 at 16:08
: codepen.io/kayun/pen/zBvpRG - Rene.DAmore commented on July 8th 19 at 16:11
Here jquery is used. - Rene.DAmore commented on July 8th 19 at 16:14
Even so codepen.io/kayun/pen/zBvpRG
And if the block to restore it does not work. - Rene.DAmore commented on July 8th 19 at 16:17
many thanks, I see there was a topic I also write a decision but that poluchatsa I have this block on the full screen border but in prescribed pixels, and I would have the height 100% how this code can be edited?How to make a corner? - Deon98 commented on July 8th 19 at 16:20
: Perhaps there is some other way? - Deon98 commented on July 8th 19 at 16:23

Find more questions by tags CSSJavaScript