Use Flexbox to push content.
// The span takes up any remaining space between left and right
<div>left</div>
<span style=“flex: 1 1 auto”></span>
<div>right</div>
Code language: HTML, XML (xml)
Full-Stack Website Developer
Use Flexbox to push content.
// The span takes up any remaining space between left and right
<div>left</div>
<span style=“flex: 1 1 auto”></span>
<div>right</div>
Code language: HTML, XML (xml)