Box Model in CSS | CSS For Beginners | Lesson 6
In CSS, Box Model is an important concept to understand how the size of elements is measured and how space between them is measured on the webpage. All elements in a HTML page are boxes, and CSS Box Model assists in defining the size, borders, padding and margins of those boxes. In this lesson we will look at each of the component of the Box Model and how it affects the positioning of your web page elements.
When you complete this lesson, you’ll know how the height, width, border, padding, and margin properties create the Box Model in CSS and more about the sizing and spacing of elements in CSS.
0 Comments