Skip to content

Instantly share code, notes, and snippets.

@darinronne
Created July 14, 2016 15:04
Show Gist options
  • Save darinronne/e7d828910f80cbec8d6581c8edb10ec4 to your computer and use it in GitHub Desktop.
Save darinronne/e7d828910f80cbec8d6581c8edb10ec4 to your computer and use it in GitHub Desktop.
Sublime Text Snippet: SCSS Hover, Focus
<snippet>
<content><![CDATA[
&:hover,
&:focus {
$1
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>hover</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
<!--
Sublime Text Snippet: SCSS Hover, Focus
This is to quickly insert a :hover and :focus selectors on an element.
Tab Trigger: hover
To find folder to place this file in:
From st3 menu go to Preferences > Browse Packages
Then go into the \User directory
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment