What does the 'padding' property in CSS affect?
- Element's background color
- Element's border
- Space inside an element
- Space outside an element
The 'padding' property in CSS affects the space inside an element. It determines the spacing between the element's content and its border, creating internal space.
Loading...
Related Quiz
- Which CSS pseudo-class would allow you to target only the last list item in an unordered list?
- What is the primary function of Autoprefixing in CSS development?
- Which CSS property is used to specify the number of times an animation should run?
- What is the result when an element does not have a specific style defined but its parent does?
- When an element with position: absolute; is inside a positioned ancestor, to which element will it be positioned relative?