Line 28: | Line 28: | ||
<div class="grid-container"> | <div class="grid-container"> | ||
<div class="grid-item"> | <div class="grid-item"> | ||
− | <img src="https://static.igem.org/mediawiki/2018/7/71/T--Toronto--_Testing_in_Progress.gif" alt="test"> | + | <img style="height:100%; width:100%;" src="https://static.igem.org/mediawiki/2018/7/71/T--Toronto--_Testing_in_Progress.gif" alt="test"> |
</div> | </div> | ||
<div class="grid-item">2</div> | <div class="grid-item">2</div> |
Revision as of 05:36, 16 October 2018
Grid Elements
A Grid Layout must have a parent element with the display property set to grid or inline-grid.
Direct child element(s) of the grid container automatically becomes grid items.
2
3
4
5
6
7
8
9