moon-design icon indicating copy to clipboard operation
moon-design copied to clipboard

Using rem() and em()

Open theycallmehero opened this issue 4 years ago • 0 comments

I do not understand, why we do not use standard CSS capabilities in some scenarios.

We know the steps between sizes, so it should be possible:

  1. Define body (root) font-size: 16px or something
  2. Define rest of the values either 1.2em or etc. (I do not understand px->em transformation nessesarity)
Screenshot 2020-10-16 at 18 17 50 Screenshot 2020-10-16 at 18 13 54

theycallmehero avatar Oct 17 '20 09:10 theycallmehero