---
title: "Discussion on \"Positioning in CSS: Everything you need to know\" | Hashnode"
description: "Discussion on \"Positioning in CSS: Everything you need to know\". The CSS position property is used to set position for an element. So without further ado, let's get the party started.\nThere are 5 types of positioning:\n\nStatic Positioning\n\nRelative Positioning\n\nAbsolute Positioning\n\nFixed Positioning\n\nSticky Positi..."
url: "https://hashnode.com/posts/positioning-in-css-everything-you-need-to-know/61e1ba27d546507ab03432e8"
---

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

Discussion

# [Positioning in CSS: Everything you need to know](https://rajatgupta.net/positioning-in-css-everything-you-need-to-know?utm_source=hashnode&utm_medium=feed)

The CSS position property is used to set position for an element. So without further ado, let's get the party started. There are 5 types of positioning: Static Positioning Relative Positioning Absolute Positioning Fixed Positioning Sticky Positi...

Jan 14, 2022 · 6 min read · rajatgupta.net  
Updated Jun 17, 2023  
Read the article

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

## Written by

[Rajat Gupta](https://hashnode.com/@therajatg)

@therajatg · Rajasthan, India

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

I write about CSS, JavaScript, React and everything in between.

Hi, I am rajat. I write about react, javascript or css 4 times a week. One more thing: I would love to work as a frontend engineer (focused on ReactJS). If you have any such role, ping me at dguptarajat@gmail.com.

## Responses 2

Markdown supported · ⌘↵ to post

[Dickson Wachai Nduati](https://hashnode.com/@Deexon)

[Jan 21, 2022](https://hashnode.com/posts/positioning-in-css-everything-you-need-to-know/61e1ba27d546507ab03432e8/comment/61ea94890b35507a93a04272)

Thank you for this

[Rajat Gupta](https://hashnode.com/@therajatg)

[Jan 22, 2022](https://hashnode.com/posts/positioning-in-css-everything-you-need-to-know/61e1ba27d546507ab03432e8/comment/61ea94890b35507a93a04272#reply-61ec081fa12088017fbe98fd)

👍

[Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)

[Jan 17, 2022](https://hashnode.com/posts/positioning-in-css-everything-you-need-to-know/61e1ba27d546507ab03432e8/comment/61e5495a8a425719c1735fb4)

Hey [Rajat Gupta](https://hashnode.com/@therajatg), great post!

I'd like to encourage you to add your social media links (Github, LinkedIn, Twitter) so more people can follow your work!

[Rajat Gupta](https://hashnode.com/@therajatg)

[Jan 17, 2022](https://hashnode.com/posts/positioning-in-css-everything-you-need-to-know/61e1ba27d546507ab03432e8/comment/61e5495a8a425719c1735fb4#reply-61e54fb38a425719c17360f8)

I'll do that.....thanks
