Created
August 22, 2014 19:31
-
-
Save raahede/fb885bcfcdbfe6ee01fb to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<a href="/" class="button" title="Text on mobile">Text on desktop</a> |
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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.0) | |
// ---- | |
.button { | |
display: inline-block; | |
float: left; | |
@media (max-width: 1079px) { | |
text-indent: -999px; | |
overflow: hidden; | |
&:before { | |
content: attr(title); | |
display: inline; | |
text-indent: 0; | |
float: inherit; | |
} | |
} | |
} |
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
.button { | |
display: inline-block; | |
float: left; | |
} | |
@media (max-width: 1079px) { | |
.button { | |
text-indent: -999px; | |
overflow: hidden; | |
} | |
.button:before { | |
content: attr(title); | |
display: inline; | |
text-indent: 0; | |
float: inherit; | |
} | |
} |
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
<a href="/" class="button" title="Text on mobile">Text on desktop</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment