CSS: Box Model
CSS |
Basics - Backgrounds - Text - Box Model - Selectors and Combinators - Pseudo-class and Pseudo-element - Gradients - Animations and Transitions - CSS in AoPS - List of Elements |
In CSS every element is considered a box. The model below is the CSS box model
Margin
Border
Padding
Inner