This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// # PugJs Cheat Sheet | |
// ## Syntax | |
doctype html | |
html | |
head | |
meta(name="Pugcupid", content="Wiggle with love") | |
body | |
main#page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Loading Animation Snippet | |
*/ | |
.loading { | |
color: transparent; | |
background: linear-gradient(100deg, #eceff1 30%, #f6f7f8 50%, #eceff1 70%); | |
background-size: 400%; | |
animation: loading 1.2s ease-in-out infinite; | |
} |