---
title: "Discussion on \"CSS Box Model (Padding, Margin, Border): everything you need to know !\" | Hashnode"
description: "Discussion on \"CSS Box Model (Padding, Margin, Border): everything you need to know !\". The box-sizing property defines how the width and height of an element are calculated: should they include padding and borders, or not"
url: "https://hashnode.com/posts/css-box-model-padding-margin-border-everything-you-need-to-know/63aaf751993a44df0679747a"
---

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

Discussion

# [CSS Box Model (Padding, Margin, Border): everything you need to know !](https://jabeedsyed.hashnode.dev/css-box-model-padding-margin-border-everything-you-need-to-know?utm_source=hashnode&utm_medium=feed)

The box-sizing property defines how the width and height of an element are calculated: should they include padding and borders, or not

Dec 27, 2022 · 3 min read · jabeedsyed.hashnode.dev  
Read the article

-   [#ineuron](https://hashnode.com/tag/ineuron)
-   [#iwritecode-hiteshchoudhary-lco-markdown-git-github](https://hashnode.com/tag/iwritecode-hiteshchoudhary-lco-markdown-git-github)
-   [#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)
-   [#css](https://hashnode.com/tag/css)
-   [#anuragtiwarime](https://hashnode.com/tag/anuragtiwarime)

## Written by

[Jabeed Syed](https://hashnode.com/@iamjabeed)

@iamjabeed · Rayavaram, T sundupalle

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

Full stack web developer

Syed Jabeed is a Fullstack Developer, but majors in Frontend engineering. I'm always eager to learn new things and expand my skillset, and I enjoy sharing my knowledge with others.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
