+ 3

What does padding mean... I don't seem to understand

I see this a lot in html and css codes

3rd Jun 2017, 2:07 PM
Emmanuel
Emmanuel - avatar
2 Answers
+ 5
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.
3rd Jun 2017, 2:13 PM
Ekansh
+ 2
Padding creates a larger space around something. So if you got a button, the outlines will be just next to the text, but by using padding the box will become bigger. See https://www.w3schools.com/css/css_padding.asp for an example and extra info
3rd Jun 2017, 2:13 PM
Maart
Maart - avatar