Skip to content

Instantly share code, notes, and snippets.

@jimmyadaro
Last active May 22, 2020 22:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimmyadaro/0a60c90a5b0d9e12fe575deaae37590e to your computer and use it in GitHub Desktop.
Save jimmyadaro/0a60c90a5b0d9e12fe575deaae37590e to your computer and use it in GitHub Desktop.
Atom snippets
'.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