Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
achievements
15,883 Points100% height background color
what css should i use to make the 50% width web page have full 100% height background color?
3 Answers
Steven Parker
243,318 PointsWhy doesn't it already have full height? Are you coloring the body element, or something inside that is not full height?
You might try this:
height: 100vh;
Otherwise, show your code to facilitate analysis and a more specific answer.
achievements
15,883 PointsI have done the body with full height image and i am trying to do the 35% navbar full height color black for examble
Steven Parker
243,318 PointsTo make it possible to give you a more specific answer, show your code. Even better, make a snapshot of your workspace and post the link to it here.
achievements
15,883 Pointsok i will do it when i will watch the video
Eusebiu Gagea
14,127 PointsEusebiu Gagea
14,127 PointsTry to use the background-size property. :D