What is box model in CSS padding, margin, and border | web development course | tutorial no 19.

Don’t click this link :

WhatsApp Group link please join https://chat.whatsapp.com/GD1RWHFZyAV6i4EAThPw7S

HTML AND CSS BOOK https://drive.google.com/file/d/1y-0nGGdFhDVo4byh5q9t7H4TdpPni0lL/view?usp=sharing

Playlist Web development Course https://www.youtube.com/watch?v=yrDisKLL5GQ&list=PLpLR4EBVned_sjbjvEN8s9W8nicJpDanw

In this video, I am telling about what is CSS box model is margin, padding, and border and understand the basic structure of the box model in CSS please watch this video and hit the like and subscribe button.

The Box model in CSS.
In CSS, the term "box model" is used when talking about design and layout. The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content. The image below illustrates the box model:
Explanation of different parts :
• Content - The content of the box, where text and images appear
• Padding - Clears an area around the content. The padding is transparent
• Border - A border that goes around the padding and content
• Margin - Clears an area outside the border. The margin is transparent
The box model allows us to add a border around elements, and to define space between elements.


If you are interested in online earning and up to data latest technologies please subscribe and click the bell icon. The main purpose of these Youtube channels is to Provide technologies updates, freelancing, and short courses Videos, and tutorials for free of cost.

Please Follow On Social Media
YouTube https://www.youtube.com/channel/UCIHvZ0mjSKa2ywuyDEcF-PA?sub_confirmation=1
Instagram https://www.instagram.com/ahmed9698khan/
Facebook Profile https://www.facebook.com/ahmedkhan4422
Facebook Page https://www.facebook.com/aktechexpert/?ref=pages_you_manage
Web design
Be the first to comment