Aditya Yadav• 710
@mraditya1999
Posted
To achieve vertical centering, an alternative approach can be employed by setting the min-height
property of the body
to 100vh
, along with applying the display: grid
and place-items: center
CSS rules. This combination shall gracefully position the content at the center of the viewport, ensuring a professional and aesthetically pleasing layout.
0