File tree 3 files changed +68
-4
lines changed
3 files changed +68
-4
lines changed Original file line number Diff line number Diff line change @@ -141,8 +141,28 @@ body {
141
141
filter : brightness (70% ); }
142
142
143
143
.realtors {
144
- background-color : royalblue;
145
- grid-column : col-start 7 / full-end; }
144
+ background-color : # 101d2c ;
145
+ grid-column : col-start 7 / full-end;
146
+ padding : 3rem ;
147
+ display : grid;
148
+ justify-content : center;
149
+ justify-content : center;
150
+ align-content : center;
151
+ grid-row-gap : 2rem ; }
152
+ .realtors__list {
153
+ display : grid;
154
+ grid-template-columns : min-content max-content;
155
+ grid-column-gap : 2rem ;
156
+ grid-row-gap : 5vh ;
157
+ align-items : center; }
158
+ .realtors__img {
159
+ display : block;
160
+ width : 7rem ;
161
+ border-radius : 50% ; }
162
+ .realtors__sold {
163
+ text-transform : uppercase;
164
+ color : # aaa ;
165
+ margin-top : -3px ; }
146
166
147
167
.features {
148
168
grid-column : center-start / center-end;
Original file line number Diff line number Diff line change @@ -29,7 +29,26 @@ <h1 class="heading-1">The Ultimate Personal Freedom</h1>
29
29
</ div >
30
30
</ header >
31
31
< div class ="realtors ">
32
- Top 3 Realtors
32
+ < h3 class ="heading-3 "> Top 3 Realtors</ h3 >
33
+ < div class ="realtors__list ">
34
+ < img src ="images/realtor-1.jpeg " alt ="Realtor 1 " class ="realtors__img ">
35
+ < div class ="realtors__details ">
36
+ < h4 class ="heading-4 heading-4--light "> Erik Fineman</ h4 >
37
+ < p class ="realtors__sold "> 245 houses sold</ p >
38
+ </ div >
39
+
40
+ < img src ="images/realtor-2.jpeg " alt ="Realtor 2 " class ="realtors__img ">
41
+ < div class ="realtors__details ">
42
+ < h4 class ="heading-4 heading-4--light "> Kim Brown</ h4 >
43
+ < p class ="realtors__sold "> 212 houses sold</ p >
44
+ </ div >
45
+
46
+ < img src ="images/realtor-3.jpeg " alt ="Realtor 3 " class ="realtors__img ">
47
+ < div class ="realtors__details ">
48
+ < h4 class ="heading-4 heading-4--light "> Toby Ramsey</ h4 >
49
+ < p class ="realtors__sold "> 198 houses sold</ p >
50
+ </ div >
51
+ </ div >
33
52
</ div >
34
53
< section class ="features ">
35
54
< div class ="feature ">
Original file line number Diff line number Diff line change 1
1
.realtors {
2
- background-color : royalblue ;
2
+ background-color : $color-secondary ;
3
3
grid-column : col- start 7 / full- end;
4
+ padding : 3rem ;
5
+ display : grid ;
6
+ justify-content : center ;
7
+ justify-content : center ;
8
+ align-content : center ;
9
+ grid-row-gap : 2rem ;
10
+ & __list {
11
+ display : grid ;
12
+ grid-template-columns : min-content max-content ;
13
+ grid-column-gap : 2rem ;
14
+ grid-row-gap : 5vh ;
15
+ align-items : center ;
16
+ }
17
+
18
+ & __img {
19
+ display : block ;
20
+ width : 7rem ;
21
+ border-radius : 50% ;
22
+ }
23
+
24
+ & __sold {
25
+ text-transform : uppercase ;
26
+ color : $color-grey-light-2 ;
27
+ margin-top : -3px ;
28
+ }
4
29
}
You can’t perform that action at this time.
0 commit comments