The article mentions targeting both `<picture>` and `<img>` elements, but that is redundant - just target `<img>`s. `<picture>` has to have one `<img>` node anyway.
picture {
display: contents;
}
so that flexbox behaves in a way you would expect.