I have a header bar that fills the width of the browser. I have two items of text, one I want on the left and the other on the right. How do I achieve this?
Code so far
<div className="logtailTitle">
<span>{this.props.initialDataReceived ? this.props.logtailApplicationName : null}</span>
<span>{this.props.initialDataReceived ? this.props.logtailPathName : null}</span>
</div>
.logtailTitle {
flex: 0 4em;
background-color: #555;
color: #bbb;
vertical-align: middle;
display: flex;
font-style: italic;
font-size: 12px;
padding: 7px 15px 8px 15px;
}