JSFiddle - React, Tailwind, and code Playground

by Victor

HTML

<div class="newBanner">
    <img src="#" alt="" class="bannerLeft"/>
        <p>stuff here</p>
        <img src="#" alt="" class="bannerRight"/>
</div>

CSS

.newBanner {
width:100%;
background:green;
height:30px;    
    position:relative;
    text-align:center
}
.newBanner img {
    /* background:red; */
    display:block;
    width:30px;
    height:30px;
    position:absolute;
    top:0;
}
.newBanner p {
    background:blue;
}
.bannerRight {right:0}
.bannerLeft {}