--- id: bad88fee1348bd9aedf08825 title: Adjust the Padding of an Element challengeType: 0 videoUrl: 'https://scrimba.com/c/cED8ZC2' forumTopicId: 301083 --- ## Description
Now let's put our Cat Photo App away for a little while and learn more about styling HTML. You may have already noticed this, but all HTML elements are essentially little rectangles. Three important properties control the space that surrounds each HTML element: padding, border, and margin. An element's padding controls the amount of space between the element's content and its border. Here, we can see that the blue box and the red box are nested within the yellow box. Note that the red box has more padding than the blue box. When you increase the blue box's padding, it will increase the distance (padding) between the text and the border around it.
## Instructions
Change the padding of your blue box to match that of your red box.
## Tests
```yml tests: - text: Your blue-box class should give elements 20px of padding. testString: assert($(".blue-box").css("padding-top") === "20px"); ```
## Challenge Seed
```html
margin
padding
padding
```
## Solution
```html
margin
padding
padding
```