.panel { padding: 16px 24px; }The panel receives 16px above and below and 24px on the left and right.
LESSON 42 OF 100
Create space between panel content and its border.
Padding sits between content and border. Two values in the padding shorthand mean vertical first, then horizontal.
.panel { padding: 16px 24px; }The panel receives 16px above and below and 24px on the left and right.
.panel { padding: 0; }Zero padding leaves the content against the box edge.
Complete the rule for .panel with padding: 16px 24px.
The selector identifies the element, and padding: 16px 24px applies the exact requested behaviour.
ANALYSIS REQUEST
The initial discussion is without obligation. You receive an honest recommendation, suitable stages and the factors that affect price.