Nick Gard
Jan 28, 2021

--

Accessibility is always required. If you've developed an intuitive sense for pixel measurements, you can always drop in

:root {

font-size: 6.25%;

}

:root > * {

font-size: 16rem;

}

and use the same numbers for rem that you were using for px.

--

--

Nick Gard
Nick Gard

Written by Nick Gard

Web Developer, Oregonian, husband

Responses (1)