Hello,

My name is Dominic. I'm a front-end developer working at Shopify in Ottawa, Canada. I work on Shopify's design system, Polaris. I love to build, explore, and tinker.

Flex items and min-width:0

Earlier I wrote about using flexbox to build responsive layouts . There is a behavior that can be surprising when using flexbox for layout...

Wrappable content with flexbox

Although specifying widths and proportions for layout items works, sometimes you need those widths to be based on the content rather than...

Building a CSS component with BEM

This article will walk you through creating a simple component in CSS. Why a component? As your CSS for a project gets larger, a single CSS...

Prioritizing layouts with the order property

In my last post I wrote about building responsive layouts with flexbox , but we can take it one step further and use the order property...

Responsive layouts with flexbox

Recently I have been playing around with some new ideas for responsive layouts. Typically one would probably set some breakpoints and use...

Reflecting on 2015

Looking back on 2015, it had some big changes in it for me, and with that came some challenges. The biggest change was making the move from...