JSFiddle - React, Tailwind, and code Playground

HTML

<div class="banner">
    <div class="span10"> <!-- bootstrap -->
        <div class="banner-text">
            <div>Here is the first line of text i want to center</div><div>Here is the second line of text i want to center</div>
        </div>
    </div>
</div>

CSS

.banner{
    margin-top:-2;
    height: 70px;
    background-color: #cf0000;
    color: white;
    height: 70px;
    position: relative;
}

.banner-text{
    display: block;
}

.banner-text * {
    display: inline-block;
    width: 50%;
    line-height: 70px;
    vertical-align: middle;
    text-align: center;
}