---
title: "Discussion on \"Different CSS Units and their Usage\" | Hashnode"
description: "Discussion on \"Different CSS Units and their Usage\". Length property requires value in a format of \"quantity followed by the CSS unit\". There are two types of lengths used in CSS — relative and absolute."
url: "https://hashnode.com/posts/different-css-units-and-their-usage/62cb2f11222e2fa74e9babf2"
---

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

Discussion

# [Different CSS Units and their Usage](https://kamiya.hashnode.dev/different-css-units-and-their-usage?utm_source=hashnode&utm_medium=feed)

Length property requires value in a format of "quantity followed by the CSS unit". There are two types of lengths used in CSS — relative and absolute.

Jul 10, 2022 · 8 min read · kamiya.hashnode.dev  
Read the article

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

## Written by

[Kamiya Gaikwad](https://hashnode.com/@Kamiya)

@Kamiya

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

Frontend developer

I am a frontend developer and my pronouns are she/her. I have been creating websites and web apps for 4 years now. Looking forward to contributing back to the community with my blogs and coding knowledge.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
