-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
50 lines (45 loc) · 1.2 KB
/
style.css
File metadata and controls
50 lines (45 loc) · 1.2 KB
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
body, html {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
background-color: #fdf3f8;
}
.scrapbook {
display: flex;
width: 100vw;
height: 100vh;
overflow-x: hidden;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
}
.page {
flex: 0 0 100%;
width: 100vw;
height: 100vh;
padding: 20px;
box-sizing: border-box;
scroll-snap-align: start;
background-color: #ffebee;
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
transform-origin: center;
animation: pageFlip 0.8s ease-out;
}
.page h1 {
margin-top: 50px;
font-size: 2.5rem;
color: #e91e63;
}
.page p {
margin-top: 20px;
font-size: 1.2rem;
color: #333;
}
@keyframes pageFlip {
from {
transform: rotateY(90deg);
}
to {
transform: rotateY(0);
}
}