---
title: "Discussion on \"Web dev basics - css (part-3)\" | Hashnode"
description: "Discussion on \"Web dev basics - css (part-3)\". Box Model\nFirst we need to understand that in CSS all elements are boxes with content, padding, border and margin.\nHere is the initial HTML and CSS we have to demonstrate with examples.\n<style>\n    .box{\n        width: 200px;\n        text-align: cent..."
url: "https://hashnode.com/posts/web-dev-basics-css-part-3/6983edea47b515df174a8625"
---

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

Discussion

# [Web dev basics - css (part-3)](https://basicsofhtml.hashnode.dev/web-dev-basics-css-part-3?utm_source=hashnode&utm_medium=feed)

Box Model First we need to understand that in CSS all elements are boxes with content, padding, border and margin. Here is the initial HTML and CSS we have to demonstrate with examples. <style> .box{ width: 200px; text-align: cent...

Feb 5 · 5 min read · basicsofhtml.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#boxing](https://hashnode.com/tag/boxing)
-   [#position-property-in-css](https://hashnode.com/tag/position-property-in-css)
-   [#display](https://hashnode.com/tag/display)

## Written by

[Gambit](https://hashnode.com/@onchiangambit)

@onchiangambit

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
