---
title: "Discussion on \"Units in CSS\" | Hashnode"
description: "Discussion on \"Units in CSS\". In CSS, units are used to define lengths (such as width, height, padding, margins, etc.). These units can be classified into absolute and relative units."
url: "https://hashnode.com/posts/units-in-css/66f4e976a0b0bc15f425f520"
---

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

Discussion

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

In CSS, units are used to define lengths (such as width, height, padding, margins, etc.). These units can be classified into absolute and relative units.

Sep 26, 2024 · 6 min read · gyannbaato.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#css-animation](https://hashnode.com/tag/css-animation)
-   [#css-unit](https://hashnode.com/tag/css-unit)
-   [#units-in-css](https://hashnode.com/tag/units-in-css)
-   [#css-frameworks](https://hashnode.com/tag/css-frameworks)

## Written by

[dheeraj koranga](https://hashnode.com/@oyeEngineerSahab)

@oyeEngineerSahab

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

learn everything about something and something about everything

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
