I dabble on everything that is web and design, and maybe a bit of programming. Tea connoisseur. Plays Minecraft. Loves reading a flip load of self-help books.
Pretty insightful article on REM and responsiveness! I would also like to add that you can make the font-size responsive without using media-queries by using the clamp() function in CSS.
We set a minimum size for the text, and when we increase the screen size, the increment will do that font size increasing and then it will stop increasing when it reaches the maximum size.
It's supported by all the major browsers (except IE) so it's good to use.
Someone once said: "If you learned it, you can do it. But through teaching, you can master it". Or maybe I'm making this up, but the point is the same. Welcome =)
I dabble on everything that is web and design, and maybe a bit of programming. Tea connoisseur. Plays Minecraft. Loves reading a flip load of self-help books.
Pretty insightful article on REM and responsiveness! I would also like to add that you can make the font-size responsive without using media-queries by using the clamp() function in CSS.
font-size: clamp(minimum_size, increment, maximum_size);
We set a minimum size for the text, and when we increase the screen size, the increment will do that font size increasing and then it will stop increasing when it reaches the maximum size.
It's supported by all the major browsers (except IE) so it's good to use.
Excelent, Khair! I am actually going to talk about
clamp()on the next article about fluid typography =DThank you for reading
You're welcome =D