Jose Antonio Jose Antonio - 1 year ago 120
CSS Question

Fix divs height HTML and CSS

here I'm another time with another newbie problem :S
I've tried about 2h how to set the Blue background the same height as the white background, but setting "height: 100% or height: 100vh" doesn't work.,css,output

Answer Source

you need to remove padding from this class

div.c1 { height: 100vh; background: #fff; margin-top: -30px; padding: 60px 30px; }

checkout this,css,output

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download