Need help with CSS to align three elements in a row, where the first two are on the left and the third is on the right. The layout should adjust so that when the window size is smaller, the second element moves below the first while the third element stays on the right. And if the window gets even smaller, all three elements should stack on top of each other
For reference, check out this example:
I want to position the red section under the header using an h2, a p, and an anchor (button) as the elements.
Please provide CSS code for the following HTML structure:
<section class="location">
<div class="content">
<h2>Lorem Ipsum</h2>
<p>Lorem ipsum dolor sit amet, copiosae perpetua voluptaria in pro, laboramus scriptorem instructior in usu, duo expetenda delicatissimi in. </p>
<a class="button" href="#">Sale sonet</a>
</div></section>