Thursday, 13 May 2021

How to set font-size to "larger" or 140% of system default

I want to provide to my users a possibility to display certain <Text/> elements with a larger font-size, than a system default. The documentation provides a number only for that style.

I want to display texts either with web-css "large" or "larger" values or maybe with 140% of the original font size.

I found couple of questions on SO and 3rd party libs, like responsive-fontsize, but they all seem not relavant to me.

What's the easiest way to do what I want?



from How to set font-size to "larger" or 140% of system default

No comments:

Post a Comment