Last active
May 22, 2020 22:51
-
-
Save jimmyadaro/0a60c90a5b0d9e12fe575deaae37590e to your computer and use it in GitHub Desktop.
Atom snippets
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
'.text.html, .source': | |
'Master Container': | |
'prefix': 'mc' | |
'body': '<div class="master-container">\n\t<div class="master-container-padding">\n\t\t$1\n\t</div>\n</div>' | |
'Master Container With Row': | |
'prefix': 'mcr' | |
'body': '<div class="master-container">\n\t<div class="master-container-padding">\n\t\t<div class="row">\n\t\t\t$1\n\t\t</div>\n\t</div>\n</div>' | |
'SVG Image With PNG Fallback': | |
'prefix': 'img2' | |
'body': '<img src="path/to/file$1.svg" onerror="this.src=\'path/to/file.png\'; this.onerror=null;">' | |
'.text.css, .text.scss, .source': | |
'CSS Placeholder styles': | |
'prefix': 'pholder' | |
'body': '&::placeholder {\n\t$1\n}\n&:-ms-input-placeholder {\n\t$1\n}\n &::-ms-input-placeholder {\n\t$1\n}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment