You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task: Change the size of the second box (by adding CSS to the .alternate class) to make it match the first box in width and height.
62
+
63
+
```
64
+
.alternate {
65
+
box-sizing: border-box;
66
+
width: 390px;
67
+
height: 240px;
68
+
}
69
+
```
70
+
71
+
You will need to increase the height and width of the second block, to add the size of the padding and border.
72
+
57
73
## Backgrounds and Borders
58
74
59
75
To style the box we add a border, using the `border` property. Round the corners with `border-radius` and then add the background image setting the size to `contain`.
0 commit comments