Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Stop Using px for Font Size - Accessibility Best Practices

TheCoderCoder via YouTube

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

Reviews

Start your review of Stop Using px for Font Size - Accessibility Best Practices

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.