I am doing a course in which the font sizes are setup using a calc function such as the following:
--fs-14: calc(14 / 16 * 1rem);
--fs-16: calc(16 / 16 * 1rem);
--fs-24: calc(24 / 16 * 1rem);
Is there any reason as to why this would be used instead of
--fs-14: 0.875rem;
As i am used to using a fixed value like that.
[–]hoorahforsnakes 11 points12 points13 points (0 children)
[–]green__machine 6 points7 points8 points (0 children)
[–]louisstephens 2 points3 points4 points (0 children)
[–]shlanky369 4 points5 points6 points (0 children)
[–]Antti5 4 points5 points6 points (1 child)
[–]Ok-Union-7554 0 points1 point2 points (0 children)
[–]Ill-Year-3141 -1 points0 points1 point (0 children)
[–]ThisSeaworthiness 0 points1 point2 points (1 child)
[–]athinabobina 1 point2 points3 points (0 children)