Most of the times we face a situation where we have to algin some of the website‘s content <div> center of the screen vertically and horizontally in UI development.
Here we have two ways to achieve this:
1. If height and width is given for the element
The DIV content goes here...