CSS Simplified Course: https://courses.webdevsimplified.com/...
You have probably heard that pixels should never be used for font sizes, but that is just one place you probably shouldn’t use pixels. Media queries, container queries, padding, and so many other CSS properties/features should not use pixels since it will break the accessibility of your site.
📚 Materials/References:
CSS Simplified Course: https://courses.webdevsimplified.com/...
Coder Coder’s Video: • Please stop using px for font-size.
Color Master Class Video: • How To Handle CSS Colors Like A Senior Dev
Accessibility Master Class Video: • The Only Accessibility Video You Will Ever...
🌎 Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
01:00 - The problem
04:15 - Why use rem for non-text sizes
07:50 - using rem with media/container queries
12:50 - Getting used to using rem values
#CSS #WDS #PxVsRem