Who wants responsive text? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Who wants responsive text?

I want to learn this

10th Mar 2017, 7:11 PM
Martin Gercak
Martin Gercak - avatar
1 Answer
+ 6
Using em and rem units on text will make it responsive. 1 em is equivalent to 16px or the browser default. If you want text to be responsive based on device then I suggest watching this video, or Googling " em vs rem units". The video is better I must say to quickly learn something. In my code or ideas in Sololearn I use pixels for simplicity, but in the real world I use em and rem, regardless of whether maths is required - it's actually easy to understand: https://youtu.be/UHf3aQz50jQ
12th Mar 2017, 3:00 PM
Mark Foxx
Mark Foxx - avatar