---
title: "Discussion on \"CSS Units Explained: EM Vs REM\" | Hashnode"
description: "Discussion on \"CSS Units Explained: EM Vs REM\". With responsive designs everywhere, many of us use em and rem in our designs. Have you ever wondered how they differ and fit our design needs?"
url: "https://hashnode.com/posts/css-units-explained-em-vs-rem/61c17d34c4195d32e16a62a9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [CSS Units Explained: EM Vs REM](https://blog.theintrovertcoder.in/css-units-explained-em-vs-rem?utm_source=hashnode&utm_medium=feed)

With responsive designs everywhere, many of us use em and rem in our designs. Have you ever wondered how they differ and fit our design needs?

Dec 21, 2021 · 3 min read · blog.theintrovertcoder.in  
Updated Feb 21, 2022  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)

## Written by

[Sangy K](https://hashnode.com/@sangyk)

@sangyk · Internet

  
[View profile](https://hashnode.com/@sangyk)

The Introvert Coder · A JS Lunatic ·

I'm a frontend-heavy full stack developer who works with JavaScript, React, Next.js, TypeScript, and Node.js. ==== Currently Reworking my Blog ====

## Responses 2

Markdown supported · ⌘↵ to post

[Goodstyle](https://hashnode.com/@Goodstyle)

[Dec 21, 2021](https://hashnode.com/posts/css-units-explained-em-vs-rem/61c17d34c4195d32e16a62a9/comment/61c2491e50d5020b9758c480)

Nice [.](https://goodstyle.app/)

[Yayang sengo](https://hashnode.com/@Yasengo)

[Dec 21, 2021](https://hashnode.com/posts/css-units-explained-em-vs-rem/61c17d34c4195d32e16a62a9/comment/61c1f37e50d5020b9758bd83)

Great one...been using rem all time..the only problem i have with rem is while giving height to hamburger bar..

[Sangy K](https://hashnode.com/@sangyk)

[Dec 22, 2021](https://hashnode.com/posts/css-units-explained-em-vs-rem/61c17d34c4195d32e16a62a9/comment/61c1f37e50d5020b9758bd83#reply-61c353f92d88363ed4ea9788)

Have you tried the 'vh' unit?
