.header { width: 100%; box-sizing: border-box; background:rgba(255, 255, 255); } .customheader{ background:rgba(255, 255, 255,0); } .header_custom{ float: left; } .content { width: 100%; height: 100%; display: flex; align-items: center; }