After spending the entire day attempting to make this work, I'm starting to doubt if it's even achievable..
The goal is for the word "Sugar" to expand to the left and then fill up before moving to the right when a longer string of text is entered. This would help maintain a consistent design layout.
I am beginning to suspect that accomplishing this with just CSS may not be feasible?
This is what my current code looks like:
#air_track {
color: #fff;
float: left;
margin: 24px 0 0 30px;
}
#air_track-span-1 {
font-family: GothamBlack;
font-size: 23px;
font-weight: 900;
float: left;
}
#air_track-span-2 {
font-family: GothamBook;
font-size: 20px;
line-height: 10px;
text-align: right;
float: right;
}
<div id="air_track">
<span id="air_track-span-1">Maroon 5</span>
<br />
<span id="air_track-span-2">Sugar</span>
</div>