title: Swap DIV position with CSS only
body: <p>I'm trying to swap two <code>div</code>s' locations for responsive design (the site looks different depending on width of the browser/good for mobile).</p>
  
  <p>Right now I have something like this:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div id="first_div"&gt;&lt;/div&gt;
  &lt;div id="second_div"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>But would it be possible to swap their placements to make it look like <code>second_div</code> is first, using CSS only? The HTML stays the same. I've tried using floats and stuff but it doesn't seem to work the way I want it to. I don't want to use absolute positioning because the heights of the <code>div</code>s are always changing. Are there any solutions, or is there just no way to do this?</p>