What's actually padding? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's actually padding?

30th Mar 2016, 3:04 PM
Navaneeth Anand
Navaneeth Anand - avatar
5 Answers
+ 2
simply padding is the space it takes from inside... ☺😊
13th Oct 2016, 7:57 PM
Baraa AB
Baraa AB - avatar
+ 1
the spaces inside the block is padding
1st Apr 2016, 8:19 AM
Akas Chitrakar (SkYaRtiSt)
Akas Chitrakar (SkYaRtiSt) - avatar
+ 1
It's the space between the text and the border of the text. It's commonly used to make buttons. Padding: 20px it will move the border 20px to the top, left, right, bottom.
1st Jul 2016, 5:40 PM
Patrick van de streek
Patrick van de streek - avatar
0
if a <div> has a padding then all the child elements of this div are placed at a distance inside the div it depends on the extent of padding
23rd Jun 2016, 1:33 PM
Sumanth Reddy
Sumanth Reddy - avatar
0
The CSS padding properties are used to generate space around content. The padding clears an area around the content (inside the border) of an element.
9th Sep 2016, 6:48 PM
Chhem Leangheng