Amr Khaled• 170
@amr4409
Posted
You can fix this problem with this code
Add this code to your file.css
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: "Red Hat Display", sans-serif;
background: url(./images/pattern-background-desktop.svg) no-repeat, var(--pale-blue);
background-size: 100%, contain;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
@media (max-width: 475px) {
body {
padding: 0 20px;
background: url(./images/pattern-background-mobile.svg) no-repeat, var(--pale-blue);
}
}
0