Yogita Misal
Sep 16, 2023

--

What is a CSS BOX MODEL?

Suppose we already have created a div tag and we want to find the box model.
You have to select chrome developer tool and click on div tag and after click on computed section and you can see the css box model.

#wel

{

background-color: blue; width: 400px; border:5px solid black; padding: 20px; margin: 20px;

}

body

{

display: grid; justify-content: center; align-items: center;

}

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Yogita Misal
Yogita Misal

No responses yet

Write a response