Bits

Center align Text

To align text content Vertically and Horizontally in the centre with css.

/*
<body>
  <p>Hello world</p>
</body>
*/

p{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}