Chapter 10. CSS: Sizing and Spacing
If you want to build a sophisticated, well-organized website, you need to control sizing and spacing meticulously with a correct understanding of each property (width, height, margin, padding, box-sizing, etc.).
In this chapter, you'll learn the key concept of the CSS box model, key CSS properties, and how each property affects each other with illustrations.
The following lessons are covered in this chapter.
Lessons in this chapter
- CSS Box Model
- width and height
- padding
- margin
- Margin and Padding for Specific Side
- margin: auto
- box-sizing