---
title: "Discussion on \"How the CSS box-sizing Property Controls the Size of Elements\" | Hashnode"
description: "Discussion on \"How the CSS box-sizing Property Controls the Size of Elements\". The CSS box-sizing property is used to adjust or control the size of any element that accepts a width or height by specifying how to calculate the total width and height of that element.\nIn this article, I will explain how the CSS box-sizing property..."
url: "https://hashnode.com/posts/how-the-css-box-sizing-property-controls-the-size-of-elements/5f1fdd27ed20ff21a11e7125"
---

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

Discussion

# [How the CSS box-sizing Property Controls the Size of Elements](https://edidiongasikpo.com/how-the-css-box-sizing-property-controls-the-size-of-elements?utm_source=hashnode&utm_medium=feed)

The CSS box-sizing property is used to adjust or control the size of any element that accepts a width or height by specifying how to calculate the total width and height of that element. In this article, I will explain how the CSS box-sizing property...

Jul 28, 2020 · 4 min read · edidiongasikpo.com  
Updated May 2, 2021  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#womenwhocode](https://hashnode.com/tag/womenwhocode)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#developers](https://hashnode.com/tag/developers)

## Written by

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

@didicodes · Lagos, Nigeria

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

Senior Developer Advocate at Ambassador Labs

Edidiong Asikpo is a Senior Developer Advocate based in Lagos, Nigeria. She is passionate about sharing her Kubernetes and web development knowledge through technical articles, videos, talks, and social media.

## Responses 5

Markdown supported · ⌘↵ to post

[Avraham Cohen](https://hashnode.com/@Avraham_Cohen)

[Sep 1, 2020](https://hashnode.com/posts/how-the-css-box-sizing-property-controls-the-size-of-elements/5f1fdd27ed20ff21a11e7125/comment/5f4de7176f2d7874d406102c)

Thank u !!

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[Nov 13, 2020](https://hashnode.com/posts/how-the-css-box-sizing-property-controls-the-size-of-elements/5f1fdd27ed20ff21a11e7125/comment/5f4de7176f2d7874d406102c#reply-5fae3a088f0a02655347980f)

Glad you found it useful [Avraham Cohen](https://hashnode.com/@Avraham_Cohen).

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Aug 11, 2020](https://hashnode.com/posts/how-the-css-box-sizing-property-controls-the-size-of-elements/5f1fdd27ed20ff21a11e7125/comment/5f32443f2a23d9080d1795bd)

Very well explained!

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[Aug 11, 2020](https://hashnode.com/posts/how-the-css-box-sizing-property-controls-the-size-of-elements/5f1fdd27ed20ff21a11e7125/comment/5f32443f2a23d9080d1795bd#reply-5f3249794332ee07eb55c337)

Thank you [Daily Dev Tips](https://hashnode.com/@dailydevtips).

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

[Jul 28, 2020](https://hashnode.com/posts/how-the-css-box-sizing-property-controls-the-size-of-elements/5f1fdd27ed20ff21a11e7125/comment/5f2015a7ba06442180226bcc)

[Edidiong Asikpo](https://hashnode.com/@didicodes), Absolutely!

Thanks for the awesome article.

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[Jul 28, 2020](https://hashnode.com/posts/how-the-css-box-sizing-property-controls-the-size-of-elements/5f1fdd27ed20ff21a11e7125/comment/5f2015a7ba06442180226bcc#reply-5f205c92ba06442180226f90)

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