display div center of screen css code example
Example 1: keeping elements of container in center
.container {
margin : 0 auto;
}
Example 2: center text in div container
text-align: center
.container {
margin : 0 auto;
}
text-align: center