# CSS: Pixels, Em, Rem, and Accessibility

**URL:** <https://forum.codeselfstudy.com/t/css-pixels-em-rem-and-accessibility/2837>\
**Category:** General Discussion\
**Tags:** css\
**Created:** [May 25, 2022, 9:52pm UTC](https://forum.codeselfstudy.com/t/css-pixels-em-rem-and-accessibility/2837 "2022-05-25T21:52:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh](https://forum.codeselfstudy.com/user_avatar/forum.codeselfstudy.com/josh/32/4_2.png) [@Josh](https://forum.codeselfstudy.com/u/Josh)\
**Post date:** [May 25, 2022, 9:52pm UTC](https://forum.codeselfstudy.com/t/css-pixels-em-rem-and-accessibility/2837/1 "2022-05-25T21:52:11Z")

</div>

This article explains the differences between the `px`, `em`, and `rem`, and how they affect accessibility.

> **[The Surprising Truth About Pixels and Accessibility: should I use pixels or...](https://www.joshwcomeau.com/css/surprising-truth-about-pixels-and-accessibility/)**
>
> “Should I use pixels or rems?”. In this comprehensive blog post, we'll answer this question once and for all. You'll learn about the accessibility implications, and how to determine the best unit to use in any scenario.
