---
title: "Discussion on \"Box Model in CSS\" | Hashnode"
description: "Discussion on \"Box Model in CSS\". All the HTML Elements can be considered as boxes.\nThe CSS Box Model is defined as a box that wraps around every HTML Element. It consists of a content, padding, border and margin. \nThe figure below represents a box model in CSS. \n\nThe different parts..."
url: "https://hashnode.com/posts/box-model-in-css/637e4520e3e7636487ae46a8"
---

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

Discussion

# [Box Model in CSS](https://khushichauhan425.hashnode.dev/box-model-in-css?utm_source=hashnode&utm_medium=feed)

All the HTML Elements can be considered as boxes. The CSS Box Model is defined as a box that wraps around every HTML Element. It consists of a content, padding, border and margin. The figure below represents a box model in CSS. The different parts...

Nov 23, 2022 · 2 min read · khushichauhan425.hashnode.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)
-   [#ineuron](https://hashnode.com/tag/ineuron)
-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#box-model](https://hashnode.com/tag/box-model)

## Written by

[Khushi Chauhan](https://hashnode.com/@khushi425)

@khushi425 · India

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

Software Engineer | Learner

Hi everyone. I am here just to share my learnings with all of you...

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
