---
title: "Discussion on \"CSS Box Model (Padding, Margin, Border)\" | Hashnode"
description: "Discussion on \"CSS Box Model (Padding, Margin, Border)\". The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content.\nIn CSS Box Model, every HTML element is considered as a rectangular box. That box can have content ( width..."
url: "https://hashnode.com/posts/css-box-model-padding-margin-border/638b50e7c6d82f107ef85b6e"
---

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

Discussion

# [CSS Box Model (Padding, Margin, Border)](https://medium.dev/css-box-model-padding-margin-border?utm_source=hashnode&utm_medium=feed)

The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content. In CSS Box Model, every HTML element is considered as a rectangular box. That box can have content ( width...

Dec 3, 2022 · 2 min read · medium.dev  
Read the article

-   [#ineuron-hiteshchaudhary-webdev-javascript-lco-learncodeonline-lco-css-learncodeonline-cssselectors-hiteshchoudharylco-code-with-hitesh-choudhary](https://hashnode.com/tag/ineuron-hiteshchaudhary-webdev-javascript-lco-learncodeonline-lco-css-learncodeonline-cssselectors-hiteshchoudharylco-code-with-hitesh-choudhary)
-   [#hiteshchoudharylco](https://hashnode.com/tag/hiteshchoudharylco)
-   [#iwritecode-hiteshchoudhary-anuragtiwari-html](https://hashnode.com/tag/iwritecode-hiteshchoudhary-anuragtiwari-html)

## Written by

[Pooja Daf](https://hashnode.com/@pooja14)

@pooja14

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
