# Should I use pixels or Rems and ems

**URL:** <https://forum.freecodecamp.org/t/should-i-use-pixels-or-rems-and-ems/91382>\
**Category:** General\
**Created:** [February 26, 2017, 12:43pm UTC](https://forum.freecodecamp.org/t/should-i-use-pixels-or-rems-and-ems/91382 "2017-02-26T12:43:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterPartridge](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@PeterPartridge](https://forum.freecodecamp.org/u/PeterPartridge)\
**Post date:** [February 26, 2017, 12:43pm UTC](https://forum.freecodecamp.org/t/should-i-use-pixels-or-rems-and-ems/91382/1 "2017-02-26T12:43:57Z")

</div>

I’ve done some reading on this topic and some articles recommend using Rems for the layout of your page and ems for the font size, But when I did a free day at a company they all used pixels and I was told pixels are coming back now that browsers use zoom. So my question is should I use Rems and ems for just use pixels?

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 16, 2021, 2:47pm UTC](https://forum.freecodecamp.org/t/should-i-use-pixels-or-rems-and-ems/91382/2 "2021-01-16T14:47:54Z")

</div>

Closed on January 16, 2021, 2:47pm UTC


