File tree Expand file tree Collapse file tree 1 file changed +47
-44
lines changed Expand file tree Collapse file tree 1 file changed +47
-44
lines changed Original file line number Diff line number Diff line change 6
6
margin-bottom : 0 ;
7
7
}
8
8
9
+ body ,
9
10
h5 {
10
11
margin : 0 ;
11
12
}
17
18
}
18
19
19
20
.listContainer {
20
- width : 360 px ;
21
+ width : 100 % ;
21
22
}
22
23
23
24
.listItem {
54
55
}
55
56
56
57
.complexListContainer {
57
- width : 360 px ;
58
+ width : 100 % ;
58
59
height : 180px ;
59
60
border-top : 1px solid gray;
60
61
border-bottom : 1px solid gray;
61
62
}
62
63
63
- /* The device with borders */
64
- .smartphone {
65
- position : relative;
66
- width : 360px ;
67
- height : 640px ;
68
- margin : auto;
69
- border : 16px black solid;
70
- border-top-width : 60px ;
71
- border-bottom-width : 60px ;
72
- border-radius : 36px ;
73
- }
64
+ @media screen and (min-device-width : 1200px ) {
65
+ /* The device with borders */
66
+ .smartphone {
67
+ position : relative;
68
+ width : 360px ;
69
+ height : 640px ;
70
+ margin : auto;
71
+ border : 16px black solid;
72
+ border-top-width : 60px ;
73
+ border-bottom-width : 60px ;
74
+ border-radius : 36px ;
75
+ }
74
76
75
- /* The horizontal line on the top of the device */
76
- .smartphone ::before {
77
- content : '' ;
78
- display : block;
79
- width : 60px ;
80
- height : 5px ;
81
- position : absolute;
82
- top : -30px ;
83
- left : 50% ;
84
- transform : translate (-50% , -50% );
85
- background : # 333 ;
86
- border-radius : 10px ;
87
- }
77
+ /* The horizontal line on the top of the device */
78
+ .smartphone ::before {
79
+ content : '' ;
80
+ display : block;
81
+ width : 60px ;
82
+ height : 5px ;
83
+ position : absolute;
84
+ top : -30px ;
85
+ left : 50% ;
86
+ transform : translate (-50% , -50% );
87
+ background : # 333 ;
88
+ border-radius : 10px ;
89
+ }
88
90
89
- /* The circle on the bottom of the device */
90
- .smartphone ::after {
91
- content : '' ;
92
- display : block;
93
- width : 35px ;
94
- height : 35px ;
95
- position : absolute;
96
- left : 50% ;
97
- bottom : -65px ;
98
- transform : translate (-50% , -50% );
99
- background : # 333 ;
100
- border-radius : 50% ;
101
- }
91
+ /* The circle on the bottom of the device */
92
+ .smartphone ::after {
93
+ content : '' ;
94
+ display : block;
95
+ width : 35px ;
96
+ height : 35px ;
97
+ position : absolute;
98
+ left : 50% ;
99
+ bottom : -65px ;
100
+ transform : translate (-50% , -50% );
101
+ background : # 333 ;
102
+ border-radius : 50% ;
103
+ }
102
104
103
- /* The screen (or content) of the device */
104
- .smartphone .content {
105
- width : 360px ;
106
- height : 640px ;
107
- background : white;
105
+ /* The screen (or content) of the device */
106
+ .smartphone .content {
107
+ width : 360px ;
108
+ height : 640px ;
109
+ background : white;
110
+ }
108
111
}
You can’t perform that action at this time.
0 commit comments