Update snippet structure

This commit is contained in:
Angelos Chalaris
2019-08-22 12:30:43 +03:00
parent ae9eaee179
commit 343f8fd4c7
46 changed files with 276 additions and 92 deletions

View File

@ -1,4 +1,7 @@
### Last item with remaining available height
---
title: Last item with remaining available height
tags: layout,intermediate
---
Take advantage of available viewport space by giving the last element the remaining available space in current viewport, even when resizing the window.
@ -50,5 +53,6 @@ The parent must have a viewport height. `flex-grow: 1` could be applied to the f
- https://caniuse.com/#feat=flexbox
<!-- tags: layout -->
<!-- date: 2018-09-30 -->