Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
About height in css - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
5 replies
Pat66
About height in css
Hi everyone
Sometime when I post some codepen and when I wrote his
height:100vh;
height:100vh;
some people use to laugh and say is not usefull so now I have a question
look this codepen
https://codepen.io/alpha_66/pen/KKEVeQK?editors=1100
in the body I put
height:100vh;
height:100vh;
my div is on the center on the page so now Try to comment in the body
height
.
question why my blue div is not is the center on the page
?
?
?
?
Kevin Powell make a video about it he say is a mistakes some begenners use to make
thanks by advance
CodePen
Patrick L
KKEVeQK
.
.
.
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
CSS Height Control
KP-C
Kevin Powell - Community / front-end
2y ago
need help with height units in css
KP-C
Kevin Powell - Community / front-end
2y ago
Width and height works in inline css but not in external css
KP-C
Kevin Powell - Community / front-end
4y ago