I have the following markup:
<body>
    <div class="slide">
        <header>
            <p id="progress">3/20
            </p>
            <!-- hfill -->
            <p id="timer">20:00
            </p>
        </header>
        <div class="question">
            <p id="question">What is 2+2?
            </p>
...and CSS:
img {
    display: block;
}        
.slide {
    border: 3px solid black;
    margin: 5% 10%;
    width: 80%;
    height: 100%;
}
header {
    margin: 0;
    height: 10%;
}
header p {
    margin: 0;
    font-size: 300%;
}        
#progress {
    float: left;
}
#timer {
    float: right;
} 
When I use Google's dev-tools, div.slide has dimensions 1074 x 208 px and header has 1068 x 0 px. Why is the header's height computed as zero? I'd like it to be 10% of its parent.
 
     
     
     
     
     
     
    