Make some effort to work in browsers other than Chrome.

I tried to get Firefox to work, but it doesn't (yet) support flex-wrap.