@saibharadwaj4919Submitted over 1 year ago
I am facing difficulty in placing the element's center and even display property. Any tips and solutions are most welcome.
I am facing difficulty in placing the element's center and even display property. Any tips and solutions are most welcome.
One solution I was pointed out here was to use a grid and place the items in the center like this in the css of the project:
body{ display: grid; place-items: center; }
You can also use a min-height: 100vh
but that is if you need it for the project to look a certain way.
Hope this helps