T19 - style.css - header & h1

PHOTO EMBED

Mon Nov 08 2021 06:35:42 GMT+0000 (Coordinated Universal Time)

Saved by @patriciamolnar

header {
    width: 100%; 
    height: 100vh; 
    position: relative; 
    overflow: hidden; 
    background-color: var(--white);
}

h1 {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    z-index: 1; 
    font-size: calc(1rem + 7vw); 
    font-family: var(--font); 
}
content_copyCOPY