Last active
September 26, 2018 15:53
-
-
Save alastc/b1ad4cf443be38930c840f7f388ed0c0 to your computer and use it in GitHub Desktop.
Text spacing 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
/* for testing WCAG 2.1 SC 1.4.12, it is expected to be applied last or with JavaScript */ | |
* { | |
line-height: 1.5 !important; | |
letter-spacing: 0.12em !important; | |
word-spacing: 0.16em !important; | |
} | |
p { | |
margin-bottom: 2em !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment