F
F
fastovvlad2018-02-04 21:50:42
css
fastovvlad, 2018-02-04 21:50:42

Enlargement of photos on the site when layout column?

I have a gallery on the site, it consists of column tags, how can I organize the photo zoom so that the images do not run over each other?5a7755c321afe743680553.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Ankhena, 2018-02-04
@fastovvlad

it consists of column tags

there are no such tags
If I understand the task correctly, then solve it like this: https://jsfiddle.net/6pwa61k9/
Wrap the pictures in a div or span or figure (in the example, for some reason I wrapped them in links, if the links are not functionally needed, then redo).
Next add positioning so that the zoom comes from the center and a transition for beauty.

A
Alexander Stepanov, 2018-02-04
@Exebeche

Display them as a background and zoom in on hover
Only this css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question