forked from DevMountain/HTML-CSS-Practice-Problems
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstep-2.css
More file actions
executable file
·34 lines (29 loc) · 912 Bytes
/
Copy pathstep-2.css
File metadata and controls
executable file
·34 lines (29 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* Step-2 add a text-align that will align items in the center. */
.main-bottom-section {
margin-top: 65px;
/* alignment property */
}
/* Step-2 Add a width, height and display property to make these containers look like the design. */
.item {
/*width*/
/*height*/
/*display*/
margin: 0 20px 30px;
background: #DED6D3;
margin-bottom: 30px;
}
/* Step-2 Add a width, height, and margin property to make these containers look like the design. Remember margin: auto is helpful when trying to center a container. */
.full-width-item {
/*width*/
/*height*/
/*margin*/
margin:0 auto 30px;
background: #DED6D3;
}
/* Step-2 Add a width, height, and margin property to make these containers look like the design. Remember margin: auto is helpful when trying to center a container. */
.large-item {
/*width*/
/*height*/
/*margin*/
background: #DED6D3;
}