@rye One way I do mobile views is by using rem units everywhere I can (instead o...
CritteRo @crittero@mastodon.social
@rye One way I do mobile views is by using rem units everywhere I can (instead of px or em), and change the relative font-size to basically make the proportions smaller and smaller on different view breakpoints.
Like this: https://github.com/CritteRo/crit_PauseMenu/blob/31fcfe9cc5350933ead3f7c015b72e86da0ed88a/crit_PauseMenu/public/client/html/style.css#L44-L74 (github jumpscare. I didn't move my old stuff to the ⛰️ )