-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathstep-2.css
More file actions
executable file
·43 lines (38 loc) · 1.06 KB
/
step-2.css
File metadata and controls
executable file
·43 lines (38 loc) · 1.06 KB
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
33
34
35
36
37
38
39
40
41
/* Step-2 add a text-align that will align items in the center. */
.main-bottom-section {
margin-top: 65px;
text-align: center;
/* alignment property */
}
/* Step-2 Add a width, height and display property to make these containers look like the design. */
.item {
/*width*/
/*height*/
/*display*/
display: inline-flex;
margin: 0 20px 30px;
background: #DED6D3;
margin-bottom: 30px;
width: 40%;
height: 200px;
}
/* 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;
width: 85%;
height: 150px;
}
/* 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;
width: 85%;
height: 300px;
margin:0 auto 30px;
}