October 2017
Intermediate to advanced
370 pages
8h 57m
English
We can also have flex and non-flex items together in the same flex parent. Non-flex items must declare their width and height attributes explicitly, and the remaining space will be divided between the flex items:
<div class="flex-container-row"> <amp-img src="img/placeholder.png" width="250" height="150" layout="fixed"></amp-img> <amp-img src="img/placeholder.png" height="100" layout="flex-item"></amp-img> <amp-img src="img/placeholder.png" layout="flex-item"></amp-img> <amp-img src="img/placeholder.png" layout="flex-item"></amp-img></div>

Read now
Unlock full access