I'm about to take my first baby steps with CSS Grid, having used Bootstrap plus Javascript for grids until now. What I want to start with is something which I know to be very simple, if I but knew how.
Let's say I have a bit of HTML like this:
<div class="container">
<div id="a">Blah</div>
<div id="b">Blurgh</div>
</div>
- On desktop, I want a 2 column layout with block a on the left, block b on the right.
- On mobile (using media query), I want a single column, with block b above block a (so, out of the normal order).
So what do I need to do?