Pictures of different heights to adapt or align under one size?

0 like 0 dislike
34 views
Good afternoon ladies and gentlemen, there are pictures of the unit, they have different sizes and jump from the altitude. Tell me a universal way to align their forces css, bootstrap or flake that they were all the same height. Or still cut them in photoshop?
5ae18e85ad316944939140.png
by | 34 views

2 Answers

0 like 0 dislike
try poshamanit with max-height and min-height, with width: auto
by
0 like 0 dislike
1. Naturally align images
2. There are many ways but I use the easiest without the use of css and js, all you need is a standard bootstrap classes and 2 conditions in php to insert every second and every third element div.
Layout 100% responsive and eliminates any possibility of plywanie content.
\rhttps://www.mydefile.ru/catalog/
5ae1999323328072029497.jpeg
The advantage of this method is obvious
1. the lack of extra classes and media queries
2. 100% compatible with bootstrap
3. the absence of js, and again problems with adaption.
4. Ease of creation.
5. the stability of the solution.
6. Aligning the height only affects the line items in which you want to change the height without affecting the other elements
of the minuses
implementation in php and not in html though given the amount of logic wrapped around the directory in the php code add an empty div for every 3 div 2 or this stuff.
by

Related questions

110,608 questions
257,186 answers
0 comments
33,806 users