Created
June 20, 2014 04:33
-
-
Save jordanthomas/91d5da925173ed99b933 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<span class="t active" data-key="hello world">Hello</span> and some additional words. |
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
// ---- | |
// Sass (v3.3.8) | |
// Compass (v1.0.0.alpha.19) | |
// ---- | |
span.t.active { | |
box-shadow: 0 0 5px yellow; | |
outline: 1px solid yellow; | |
position: relative; | |
} | |
span.t.active:hover:after { | |
content: attr(data-key); | |
position: absolute; | |
left: 100%; | |
margin-left: 0.25em; | |
white-space: nowrap; | |
background: white; | |
outline: 1px solid yellow; | |
} |
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
span.t.active { | |
box-shadow: 0 0 5px yellow; | |
outline: 1px solid yellow; | |
position: relative; | |
} | |
span.t.active:hover:after { | |
content: attr(data-key); | |
position: absolute; | |
left: 100%; | |
margin-left: 0.25em; | |
white-space: nowrap; | |
background: white; | |
outline: 1px solid yellow; | |
} |
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
<span class="t active" data-key="hello world">Hello</span> and some additional words. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment