Created
January 28, 2021 17:48
-
-
Save amattn/62436c90b960fce85aebc358dd13728e to your computer and use it in GitHub Desktop.
Tailwind input.css file which supports sup and sub tags. see: https://amattn.com/p/brief_history_of_and_advanced_tricks_with_tailwind_css.html
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
@import "tailwindcss/base"; | |
@import "tailwindcss/components"; | |
@import "tailwindcss/utilities"; | |
/* I mostly use this for math like exponents and stuff */ | |
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } | |
sup { top: -0.3em; vertical-align: super;} | |
sub { bottom: -0.25em; vertical-align: sub;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment