CSS Units for Font size
In class we've been learning about responsive websites. I've looked at a few examples online and my main concern is getting the text readable in the layout, so there is no exhaustive scrolling on mobile., I used to designing in the desktop view only and it is a bad habit to stay in.
https://search.google.com/test/mobile-friendly
Google have a way of testing if your website is mobile friendly I found the connection with Google search console very intuitive.
https://mycodelesswebsite.com/
Responsive design is the way to build websites for the future. you don't just want to build a website that that is good for this and next year, you want one for five years time. more and more people are using mobiles to access websites.
I am used to relating to the size of text on a page as pixels. Coming from a design background the language around Html and CSS unconscious of having a biased approach. The term ‘em’ is based on browser default font size. My looking for a relative comparison to pixels are points this chart was very useful. A good rule of thumb I have found, use em for overriding other font-sizes in a relative way, but only when necessary.
https://www.w3.org/Style/Examples/007/units.en.html#:~:text=The%20em%20is%20simply%20the,sizes%20will%20be%20in%20proportion.
I found a great guide on how to design a responsive site with em based sizing.
https://www.creativebloq.com/how-to/design-a-responsive-site-with-em-based-sizing

















