Created
March 3, 2021 04:36
-
-
Save xantiagoma/e962effdf90248b9f1c2f3e586b76736 to your computer and use it in GitHub Desktop.
Prevent Superscripts and Subscripts from Affecting Line-Height
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 { | |
vertical-align: baseline; | |
position: relative; | |
top: -0.4em; | |
} | |
sub { | |
top: 0.4em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment