Last active
January 1, 2018 18:35
-
-
Save danwarfel/01e21094b2ec152c08d963e341e55c90 to your computer and use it in GitHub Desktop.
Emmet Cheat Sheet
This file contains hidden or 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
<!-- HOW TO MANIPULATE IMAGES --> | |
<!-- New Ones --> | |
img[src=$$$.jpg]*40 | |
<!--You can combine attributes into a single set --> | |
img[src=/images/$$.png alt] | |
<!-- THESE ARE PARTICULARLY USEFUL --> | |
<!-- Climbing Up #1 --> | |
.wrap>p>a^p | |
<!-- Climbing Up #2 --> | |
.wrap>p>em>a^^p | |
<!-- Text & Attributes #1 --> | |
h1{heading}+p{lorem ipsum} | |
<!-- Text & Attributes #2 --> | |
a[href="http://www.apple.com"]{Apple} | |
<!-- Multiple Class Names --> | |
.one.two.three | |
<!-- Automatic Numbering --> | |
ul>li.item${item $$}*3 | |
<!-- AND THE REST YOU ALREADY KNEW --> | |
<!-- Skip The Div #1 --> | |
div.container | |
<!-- Skip The Div #2 --> | |
.container | |
<!-- Implicit Tag Names --> | |
.wrap>ul.list>.sites | |
<!-- Chaining Abbreviations --> | |
.outer>.inner>h1+p | |
<!-- Grouping #1 --> | |
(.one>h1)+(.two>h1) | |
<!-- Grouping #2 --> | |
(section>.wrap>h1>p>a)+(section>.wrap>p+p) | |
<!-- Multiplication #1 --> | |
ul>li*3 | |
<!-- Multiplication #2 --> | |
(section>.wrap)*2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment