A
A
Andrey Galko2015-10-29 13:26:58
css
Andrey Galko, 2015-10-29 13:26:58

How to make an image wrap around other images?

Hello. I have several pictures and they are displayed very ugly:
d0a7dbb0549e4419b2f3068bb9d150bf.PNG
Can I use pure css to make the pictures appear similar to the photo below?
175743837cf04a68a208a6e1e2ce630c.PNG

<img src="http://cs7003.vk.me/c540103/v540103823/276c8/Q2iWctIsF60.jpg" alt="ct">
<img src="http://cs7003.vk.me/c540103/v540103823/276cf/9XnLKlpyEzk.jpg" alt="ct">
<img src="http://cs7003.vk.me/c540103/v540103823/276d6/-oeMxtWB-rE.jpg" alt="ct">
<img src="http://cs7003.vk.me/c540103/v540103823/276dd/QFrFDHff-M4.jpg" alt="ct">

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey delphinpro, 2015-10-29
@McDeFF

https://jsfiddle.net/c2e020a4/1/

A
Anton Fedoryan, 2015-10-29
@AnnTHony

Like this: https://jsfiddle.net/c2e020a4/

R
rhost, 2015-10-29
@hoOstel

it is possible through js masonry

S
Stanislav Dubrovsky, 2015-10-29
@Vusluk

If images are justified, then wrap images in vertical columns: https://jsfiddle.net/cLxgrpso/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question