-
-
Save AgilePixelStudio/5592561 to your computer and use it in GitHub Desktop.
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
sup { | |
/* Specified in % so that the sup/sup is the | |
right size relative to the surrounding text */ | |
font-size: 75%; | |
/* Zero out the line-height so that it doesn't | |
interfere with the positioning that follows */ | |
line-height: 0; | |
/* Where the magic happens: makes all browsers position | |
the sup/sup properly, relative to the surrounding text */ | |
position: relative; | |
/* Note that if you're using Eric Meyer's reset.css, this | |
is already set and you can remove this rule */ | |
vertical-align: baseline; | |
} | |
sup { | |
/* Move the superscripted text up */ | |
top: -0.5em; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment