Kamlesh Rajesh Yadav• 5,060
@Kamlesh0007
Posted
To properly center the component in the page, you should use Flexbox or Grid layout. You can read more about centering in CSS here 📚. For this demonstration we use css Grid to center the component. body { min-height: 100vh; display: grid; place-items: center; }
0