skip to Main Content

Html – How to center this div I have already done justify-content: center; align-items: center. Still the container div is not getting centered

The container is not stack at the center of the body HTML code:- <body> <div class="container"> <div class="image"> <img src="./images/image-qr-code.png" alt="qrcode"> </div> <div class="heading"> <h2>Improve your front-end skills by building projects</h2> <p>Scan the QR code to visit Frontend Mentor and…

VIEW QUESTION
Back To Top
Search