-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
84 lines (73 loc) · 1.23 KB
/
style.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
body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.example-project {
display: none;
}
#example1 {
height: 850px;
place-items: end;
}
#circle {
width: 300px;
height: 300px;
border-radius: 50%;
background-color: brown;
border: 3px solid black;
justify-self: center;
}
/* example 2 */
#example2 {
gap: 0.8rem
}
.square {
width: 300px;
height: 300px;
border-radius: 12px;
background-color: brown;
border: 3px solid black;
margin: auto;
transform: scale(1.2);
opacity: 0;
transition: all 0.2s ease-in;
}
.square-visible {
transform: scale(1);
opacity: 1;
}
/* infinity loading */
#example3 {
position: relative;
}
.infinity-list li {
list-style-type: none;
width: 100%;
max-width: 600px;
margin: 15px auto;
background-color: brown;
color: rgb(255, 255, 255);
padding: 2rem
}
.load-more {
text-align: center;
pointer-events: none;
position: relative;
}
.virtual {
position: absolute;
height: 220px;
top: -200px;
width: 100%;
pointer-events: none;
background-color: rgba(0, 0, 0, 0.2);
}
.observer-controls {
position: sticky;
background-color: white;
border-bottom: 1px solid lightgray;
text-align: center;
padding: 1rem;
top: 0;
right: 0;
z-index: 99
}