Overview
Discover why using pixels for font sizes, widths, and heights in CSS can hinder accessibility in this informative 15-minute video. Learn about the limitations of px units and explore better alternatives like rem and em for creating responsive, user-friendly designs. Gain insights on converting px to rem, understand the impact on media queries, and evaluate the 62.5% hack. Master techniques to build more accessible websites that adapt to users' browser settings and preferences.
Syllabus
- Intro
- The problem with px
- Don't use px for widths
- Don't use px in media queries
- Ways to convert from px to rems
- What about the 62.5% hack?
Taught by
Coder Coder