Created
January 16, 2014 03:01
-
-
Save zhjuncai/8449135 to your computer and use it in GitHub Desktop.
The simple technique described in this article allows us to enhance how mobile users read the text of our web pages. Its compatibility is good because it can be employed in all major browsers, including Internet Explorer starting from version 9. In addition, we can use it in Internet Explorer 8 too using a shim to support media queries.
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
abbr[title]:after | |
{ | |
content: " (" attr(title) ")"; | |
} | |
@media screen and (min-width: 1025px) | |
{ | |
abbr[title] | |
{ | |
border-bottom: 1px dashed #ADADAD; | |
cursor:help; | |
} | |
abbr[title]:after | |
{ | |
content: ""; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment