Image for post
Image for post

While working on the FordLabs site, my pair partner and I came across a seemingly sticky situation. We had three elements which needed to be arranged horizontally in the order of [1] [2] [3] on both tablet and desktop screens, but then arranged vertically in the order of [1] [3] [2] on mobile.

Now, while we could have used some funky JavaScript to reorder the elements or used extra HTML and CSS to hide and show elements based on viewport size, I was familiar enough with CSS grid to think, “There has to be a simpler way to do this.” …

Ashley R. Clifton

Full stack software engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store