JSFiddle - React, Tailwind, and code Playground

by Johan Karlsson

HTML

<div class="alert">
testing123testing123testing123testing123testing123testing123testing123<br><br><br>
    testing123testing123
    testing123testing123testing123testing123
    testing123testing123testing123<br><br><br>
    testing123testing123
</div>

CSS

.alert{
    color:#555;
    border-radius:10px;
    font-family:Tahoma,Geneva,Arial,sans-serif;font-size:11px;
    position: fixed;
    display: block;
    border: 1px solid black;
}


.alert{
     top: 50%;
     left: 50%;   
     -webkit-transform: translate(-50%, -50%);
     -ms-transform: translate(-50%, -50%);
     transform: translate(-50%, -50%);
}