blog

git clone https://git.ce9e.org/blog.git

commit
3d5dac8871280a6d6075afb3ec30cb4568ba94da
parent
bb879447a6c860c59ccd6402d31a20fba1c03e01
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-03-21 05:25
fluid typo: mention impact in rem

Diffstat

M _content/posts/2024-03-15-fluid-typography/index.md 3 ++-

1 files changed, 2 insertions, 1 deletions


diff --git a/_content/posts/2024-03-15-fluid-typography/index.md b/_content/posts/2024-03-15-fluid-typography/index.md

@@ -184,7 +184,8 @@ In practice, this circle can be broken because there is an absolute maximum
  184   184 font size. In our case, that is `1.2 * 40 * 1rem`, were `rem` refers to the
  185   185 user defined font size. In case you had wondered: That is why I never set
  186   186 `font-size` on `:root`. If I had done that, it would be impossible to get to
  187    -1 the original, user-defined value.
   -1   187 the original, user-defined value. Unfortunately, this also means that we can no
   -1   188 longer use the `rem` unit for styling.
  188   189 
  189   190 The rest is left as an exercise to the reader. If you are interested, I have
  190   191 prepared a [complete demo](./demo/).