Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shaky numbers #156

Open
Tenchi2xh opened this issue Dec 22, 2021 · 0 comments
Open

Shaky numbers #156

Tenchi2xh opened this issue Dec 22, 2021 · 0 comments

Comments

@Tenchi2xh
Copy link

Because number characters have various widths, they shake a lot when rapidly increasing and greatly reduce legibility:

synergism-shaky

Reading the exponent can be hard like that in certain conditions

By enabling this CSS property on body (tabular figures):

font-variant-numeric: tabular-nums;

Digits will all have the same width and will totally stabilise the rendering of rapidly increasing numbers:

synergism-stable

Which makes it much more readable in my opinion 😃

This is under macOS so I have no idea if the Windows system fonts support that feature (in that case it would be worth having a web font)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant