body { color: #333; font-size: 12px; } #root { width: 100%; height: 100%; min-width: 960px; } .header { height: 120px; border-bottom: 1px solid #eee; } .clearfix:before, .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; } .footer { border-top: 1px solid #eee; }