0

Explain box model in css

To clarify for everyone confuse: the padding is located between the object's body and its borders! ;) That means when you add padding space, you're, in fact, moving the borders of the object away from its body. Now, when you change the margins, you're changing the distances of that object in relation to the whole space of the page it's located in. I hope this help you guys. I'll move this to the discussions, so everyone can consult it anytime. CPD https://code.sololearn.com/Wy9z8RMBE0J4/?ref=app

25th Oct 2020, 8:14 AM
Ahsan Tony
Ahsan Tony - avatar
1 ответ
+ 6
This is a great video explaining about CSS box model https://www.youtube.com/watch?v=rIO5326FgPE Happy Coding!
27th Oct 2020, 6:34 AM
No One