If the padding property has four values | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If the padding property has four values

padding:10px 5px 15px 20px; top padding is 10px right padding is 5px bottom padding is 15px left padding is 20px

21st May 2018, 6:00 AM
nadir ali
nadir ali - avatar
1 Answer
+ 4
Yes it's perfect. You can use padding-top, padding-right, eg. properties too.
21st May 2018, 6:17 AM
Isti
Isti - avatar