Home › Forums › CSS › CSS Height by percentage › Reply To: CSS Height by percentage
November 19, 2013 at 10:24 am
#156538
Merri
Participant
In short:
html,body { height: 100%; margin: 0; }
.div1 { background: blue; height: 10%; }
.div2 { background: red; height: 30%; }
.div3 { background: green; height: 60%; }