-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
128 lines (117 loc) · 1.56 KB
/
index.css
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/* * {
box-sizing: border-box;
margin: 0;
padding: 0;
}
div {
height: 100vh;
text-align: center;
padding-top: 50vh;
border: solid 1px red;
white-space: nowrap ;
}
.spanbox {
height: 100vh;
text-align: center;
padding-top: 50vh;
}
h1 {
position: sticky;
top: 50vh;
}
.a {
position: sticky;
top: 50vh;
font-size: 100px;
}
.b {
position: sticky;
top: 40vh;
font-size: 100px;
}
.c {
position: sticky;
top: 36vh;
font-size: 100px;
}
.d {
position: sticky;
top: 27vh;
font-size: 100px;
}
.e {
position: sticky;
top: 32vh;
font-size: 100px;
} */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
div {
height: 100vh;
text-align: center;
}
.spanbox {
height: 100vh;
text-align: center;
padding-top: 50vh;
}
.first {
height: 100vh;
white-space: nowrap;
display: flex;
justify-content: center;
align-items: center;
}
.second {
height: 100vh;
white-space: nowrap;
display: flex;
justify-content: center;
align-items: top;
}
.third {
height: 100vh;
white-space: nowrap;
display: flex;
justify-content: center;
align-items: top;
}
.fourth {
height: 100vh;
white-space: nowrap;
display: flex;
justify-content: center;
align-items: center;
margin-top: -80vh;
}
h1 {
top: 50vh;
}
.a {
position: sticky;
top: 50vh;
font-size: 100px;
}
.b {
position: sticky;
top: 40vh;
font-size: 100px;
}
.c {
position: sticky;
top: 36vh;
font-size: 100px;
}
.d {
position: sticky;
top: 27vh;
font-size: 100px;
}
.e {
position: sticky;
top: 32vh;
font-size: 100px;
}