hitmorecode• 6,230
@hitmorecode
Posted
.main{
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-image: url(./images/pattern-background-desktop.svg);
/* add these two lines to fix the background image */
background-repeat: no-repeat;
background-size: contain;
}
1