---
title: "Discussion on \"Popular font size units px, rem and em.\" | Hashnode"
description: "Discussion on \"Popular font size units px, rem and em.\". When it comes to setting font sizes in CSS, there are a few different units that you can use. The three most popular units are:\n\npx (pixels)\n\nem (ems)\n\nrem (root ems)\n\n\nBrowser default base font size 16px.\nPixels (px)\nPixels are the most basic unit o..."
url: "https://hashnode.com/posts/popular-font-size-units-px-rem-and-em/650fcbd7f4deddd9e421e96b"
---

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

Discussion

# [Popular font size units px, rem and em.](https://binay.hashnode.dev/popular-font-size-units-px-rem-and-em?utm_source=hashnode&utm_medium=feed)

When it comes to setting font sizes in CSS, there are a few different units that you can use. The three most popular units are: px (pixels) em (ems) rem (root ems) Browser default base font size 16px. Pixels (px) Pixels are the most basic unit o...

Sep 24, 2023 · 5 min read · binay.hashnode.dev  
Read the article

-   [#css-font-size](https://hashnode.com/tag/css-font-size)
-   [#fonts](https://hashnode.com/tag/fonts)
-   [#px-rem-and-em](https://hashnode.com/tag/px-rem-and-em)

## Written by

[Binay Maharjan](https://hashnode.com/@Viney)

@Viney · Lalitpur,Nepal

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

Front-end Developer

👋 Hello World! I'm Binay Maharjan, a passionate Front-End Developer the ever-evolving realm of web development. 🚀 🌈 Design Enthusiast: With an eye for aesthetics, I bring designs to life, ensuring a seamless fusion of form and function. My CSS skills extend to animations, transitions, and the art of making websites not just functional, but delightful. 📐 Responsive Design Advocate: From desktops to tablets and smartphones, I'm dedicated to creating websites that adapt flawlessly to every screen size. A user-centric approach guides my responsive design philosophy. ⚙️ Tech Innovator: I thrive on staying up-to-date with the latest trends and emerging technologies in the front-end development landscape. Constantly refining my skills to implement cutting-edge solutions, I am committed to delivering high-quality, forward-thinking code.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
