O
O
olezhenka2018-03-06 21:01:04
JavaScript
olezhenka, 2018-03-06 21:01:04

Is there a plugin for adapting image sizes to the size of an element in vue or jquery?

As in VK posts.
If 1 picture, then it will be full height. 3 pictures and 33% width each. 6 pictures - in two blocks of 33% each, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Erbol, 2018-03-06
Kuandykov @Erreke

Maybe I'll say past the cash register. But I would recommend doing this with CSS: grids or flexboxes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question