---
title: "Discussion on \"CSS Units\" | Hashnode"
description: "Discussion on \"CSS Units\". Selecting the perfect unit for your CSS code can be daunting.\nHere, is a basic explanation of the most used units and which ones to go for your styling needs.\nUnits are broadly classified into two categories:-\n\nAbsolute units\nRelative units\n\nConfused..."
url: "https://hashnode.com/posts/css-units/632b0a77a50bab2ed3c5b4cd"
---

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

Discussion

# [CSS Units](https://learnwithriya.hashnode.dev/css-units?utm_source=hashnode&utm_medium=feed)

Selecting the perfect unit for your CSS code can be daunting. Here, is a basic explanation of the most used units and which ones to go for your styling needs. Units are broadly classified into two categories:- Absolute units Relative units Confused...

Sep 21, 2022 · 2 min read · learnwithriya.hashnode.dev  
Updated Sep 23, 2022  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#html5](https://hashnode.com/tag/html5)
-   [#different-types-of-css-unit](https://hashnode.com/tag/different-types-of-css-unit)
-   [#css-unit](https://hashnode.com/tag/css-unit)

## Written by

[Riya Agarwal](https://hashnode.com/@RiyaAgarwal)

@RiyaAgarwal · India

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

Exploring the world of softwares

## Responses 1

Markdown supported · ⌘↵ to post

[Sourav Shinde](https://hashnode.com/@sourav1)

[Sep 21, 2022](https://hashnode.com/posts/css-units/632b0a77a50bab2ed3c5b4cd/comment/632b1601195e7dc741daa4ba)

It was really helpful.
