0
Equal image height
I have images of different heights that are links. Do I have to set each individual height with a container or can I change them all together? here is the a link to a page I am discussing: https://code.sololearn.com/WQxEBMjTNdWk
6 Respostas
+ 3
No you don't need it . just make a div tag and specify its height . And then add image with a common class then declare the height 100% in css
+ 3
Flexbox does the trick :)
+ 1
No, you can set height for both of them at a time using <div> tag and add Ur img tags inside it and mention the CSS code as height : 50px or 50%
0
huh can i see an example of this working?
0
I posted a piece of my code
0
for some odd reason i couldnt put a percentage on .lessonImages and had to use pixels