Why do I have the impression that the height as a measure is neglected or omitted? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

Why do I have the impression that the height as a measure is neglected or omitted?

https://code.sololearn.com/W8YmohkdB0RS/?ref=app

21st Apr 2018, 2:41 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
2 Answers
0
We use more CSS for text size, here is an example https://code.sololearn.com/WX7xS1D4xETy/?ref=app
21st Apr 2018, 3:33 PM
Master Assassin
Master Assassin - avatar
0
Use alway CSS and you will see that something change and you must understand one thing... If you have an block element and you dont set a height, it will enlarge for contain his childs BUT if they height will be setted relative to parent (that in this example has height relative to childs) will be a problem and not works like expected... You can resolve by setting a fixed height in parent element
21st Apr 2018, 3:57 PM
KrOW
KrOW - avatar