HTML Introduction to HTML and CSS Make It Beautiful With CSS Select and Style Multiple Elements by Class

ariel green
ariel green
1,672 Points

Why are there 2 values in the padding under ' .skills li' ??

padding: 5px 10px; why are there 2 values?

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 51,992 Points

See Padding - Shorthand here

With two values the first value is for the top and bottom. The second value is for the right and left.