body { margin: 0; padding: 0; font-family: sans-serif; background-color: #ffc107; } body:before { content: ''; position: absolute; height: 100%; width: 100%; z-index: -1; background-color: white; }