Quindara Corbin• 70
@dquindara8
Submitted
Hello all. How do you specifically center an image on the webpage or html body? Thanks.
@christy313
@dquindara8
Submitted
Hello all. How do you specifically center an image on the webpage or html body? Thanks.
@christy313
Posted
Hi Quindara,
To center the QR code component, try to add the below lines to your CSS:
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
Happy Coding! 🎉🎉🎉