+ 4

Height

Why i can't use percentages to define height of block level element?

14th Dec 2019, 9:39 AM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
1 Resposta
+ 1
Using percentages for height should work for block elements, but the height then depends on the height of the containing block: https://developer.mozilla.org/en-US/docs/Web/CSS/height
14th Dec 2019, 11:36 AM
Aaron Eberhardt
Aaron Eberhardt - avatar
Quente hoje
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes