---
title: "Discussion on \"How to explain CSS Positioning to a 5-year-old\" | Hashnode"
description: "Discussion on \"How to explain CSS Positioning to a 5-year-old\". We all know that CSS positioning can be confusing sometimes. When you design a layout, you think about how you position your elements and the surrounding elements. However, there are few ways to design your web layouts, and CSS position property is o..."
url: "https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7"
---

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

Discussion

# [How to explain CSS Positioning to a 5-year-old](https://sumudusiriwardana.hashnode.dev/how-to-explain-css-positioning-to-a-5-year-old?utm_source=hashnode&utm_medium=feed)

We all know that CSS positioning can be confusing sometimes. When you design a layout, you think about how you position your elements and the surrounding elements. However, there are few ways to design your web layouts, and CSS position property is o...

Jul 28, 2021 · 7 min read · sumudusiriwardana.hashnode.dev  
Read the article

-   [#css3](https://hashnode.com/tag/css3)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#css](https://hashnode.com/tag/css)

## Written by

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

@sumudusiriwardana · Colombo, Sri Lanka

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

Project Manager

I'm a Project Manager. I help businesses and teams meet their goals and bring their ingenious ideas to life. While my main focus is on project management, I'm currently learning web development and really enjoying the coding journey.

## Responses 13

Markdown supported · ⌘↵ to post

[Chanel (InstincDev)](https://hashnode.com/@InstincDev)

[Oct 1, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/615663f528ed304eb1d8054b)

Great article!

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Oct 1, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/615663f528ed304eb1d8054b#reply-6156db4ee896275f335e0c9b)

Thank you! 😊

[Kirill Inoz](https://hashnode.com/@kirillinoz)

[Sep 26, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/6150b7a894bb297e1aad8a2d)

That's a very interesting and creative way of explaining CSS! Great job! 👍

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Sep 27, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/6150b7a894bb297e1aad8a2d#reply-61512a3494bb297e1aad9111)

Thank you so much, Kirill!

[Csaba Kissi](https://hashnode.com/@Csaba)

[Aug 11, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/6113892c756897544b106391)

Excellent Sumudu!

I remember how hard it was to understand this for me when I've started to learn this years ago.

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Aug 11, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/6113892c756897544b106391#reply-6113f707611d5c199a2faae9)

Thank you, Csaba! I'm glad to hear that this is easy to understand and useful.

[Charith Rathnayake](https://hashnode.com/@rustedred)

[Jul 31, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/6105738733a2a43971a2d3e7)

Very well written! I could surely use this. Thanks for sharing :)

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Jul 31, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/6105738733a2a43971a2d3e7#reply-6105796133a2a43971a2d492)

Thank you, Charith. I'm glad you like it 😊

[Nyareh David](https://hashnode.com/@NyarehD)

[Jul 30, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/6104242433a2a43971a2b093)

I didn't know that relative positioning do not remove the element from content flow. Thanks, for a very good article. These are one of the most confusing things about CSS.

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Jul 31, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/6104242433a2a43971a2b093#reply-610517b533a2a43971a2cb88)

Thank you for your kind words! I'm glad you found this article useful.

[Tracy Nuwagaba](https://hashnode.com/@tracycod3r)

[Jul 30, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/6103d2929036db5b3513c225)

A great explanation 👏 thank you

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Jul 30, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/6103d2929036db5b3513c225#reply-6103f7069036db5b3513c7e6)

Thank you for your kind words! 😊

[Hồng Võ Thanh](https://hashnode.com/@teocoi272)

[Jul 30, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/61036e469036db5b3513b6f2)

64:ff9b::/96

[Candy](https://hashnode.com/@candyspage)

[Jul 30, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/61035883805a765b088758cb)

Love the illustrations! Thanks for writing up this article!

[Tapas Adhikary](https://hashnode.com/@atapas)

[Jul 30, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/61035399805a765b0887587e)

Loved the way you explained it. Very nice.

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Jul 30, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/61035399805a765b0887587e#reply-6103a99f805a765b088761a1)

Thank you, Tapas! I'm glad to hear it 😊

[Hrithwik Bharadwaj](https://hashnode.com/@hrithwik)

[Jul 29, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/61024cc7d3dd5634ae9094c4)

This is very well written.

Amazing Article [Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Jul 29, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/61024cc7d3dd5634ae9094c4#reply-6102637cd3dd5634ae9099ba)

Thank you, Hrithwik. I'm glad you liked it 😊

[Rohan Kulkarni](https://hashnode.com/@rohankulkarni)

[Jul 29, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/610243f12db92534dc934a55)

Thanks !! Will help me for sure 👍🏻

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Jul 29, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/610243f12db92534dc934a55#reply-610247b12db92534dc934af1)

I'm glad you found it helpful, Rohan! 🙌

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Jul 29, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/610240622db92534dc934966)

This is one great, descriptive article! I followed you! 🙏

Keep up the great work! 👏

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Jul 29, 2021](https://hashnode.com/posts/how-to-explain-css-positioning-to-a-5-year-old/61012f802db92534dc932bd7/comment/610240622db92534dc934966#reply-6102477fd3dd5634ae9093f2)

Thank you so much, Catalin! 🙏
