JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container center">
    Lorem
    <br>
    Ipsum    
</div>

CSS

.container{
    display: block;
    width: 90px;
    height: 90px;
    background-color: #AFA;
}

.center{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}