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 @@
### Truncate text multiline
---
title: Truncate text multiline
tags: layout,intermediate
---
If the text is longer than one line, it will be truncated for `n` lines and end with an gradient fade.
@ -51,4 +54,5 @@ If the text is longer than one line, it will be truncated for `n` lines and end
- https://caniuse.com/#feat=css-gradients
<!-- tags: layout -->