forked from mhsaghsemii/ToDo-List
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresponsive.css
More file actions
69 lines (58 loc) · 975 Bytes
/
responsive.css
File metadata and controls
69 lines (58 loc) · 975 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/* 1344px Breakpoint - Smaller Desktop */
@media (max-width: 84em) {
.todo {
width: 30rem;
}
}
/* 1200px Breakpoint - Landscape Tablet */
@media (max-width: 75em) {
.app {
grid-template-columns: 1fr 2fr;
}
.todo {
width: 35rem;
}
.goal-section {
flex-direction: row-reverse;
}
.goal {
display: none;
}
.music {
padding-bottom: 0;
flex-direction: row;
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.music-cover {
margin-right: 5rem;
}
}
/* 944px Breakpoint - Tablets */
@media (max-width: 59em) {
.todo {
width: 20rem;
}
.todo-task {
padding-left: 2rem;
}
}
/* 544px Breakpoint - Moible Phone */
@media (max-width: 34em) {
.app {
grid-template-columns: 1fr;
}
.music {
padding: 3rem;
flex-direction: column;
align-items: center;
justify-content: center;
}
.music-cover {
margin-right: 0;
}
.todo {
width: 30rem;
}
}