I have following html markup. I would like h1 tag to take full with of the page (100%) and three articles to appear in one row using flexbox. The image should shrink to fit the row if needed.
#content {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
#content>h2 {
  flex: 0 1 100%;
}
#content>article {
  padding: 5px;
  border: 1px solid #cccc33;
  background: #dddd88;
  flex: 1 0 50%;
}<section id="content">
  <h2>Featured Work</h2>
  <article>
    <img src="http://placehold.it/450x450">
  </article>
  <article>
    <img src="http://placehold.it/450x450">
  </article>
  <article>
    <img src="http://placehold.it/450x450">
  </article>
</section>Here is the jsfiddle: https://jsfiddle.net/fejt3m1s/
 
     
     
     
    