lhli.net

proportionalFont

A simple system for creating tight typography with scss. It removes the inconvenience of having an unpredictable box around all html text, and lets you set precise distances between boxes based on x-height (or cap-height, if you prefer it that way) and baseline. Use this tool to adjust your preferred font, and use this mixin to create your typography.
23/6 2021
gjort ☯︎ abc k mixin scss svelte