Awesome q2a theme

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

0 like 0 dislike
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?
by | 70 views

2 Answers

0 like 0 dislike
try poshamanit with max-height and min-height, with width: auto
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.
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.

Related questions

110,608 questions
257,187 answers
40,796 users