Last active
July 19, 2023 07:11
-
-
Save onsamyj/bb3a7894db5cb5e8f4e664ae1f1033e4 to your computer and use it in GitHub Desktop.
Proper <sub> and <sup> tags #CSS
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, sub { | |
position: relative; | |
vertical-align: middle; | |
font-size: 75%; | |
font-weight: normal; | |
} | |
sup { | |
bottom: 0.5em; | |
} | |
sub { | |
top: 0.5em; | |
} | |
/* #css */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment