-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
68 lines (60 loc) · 1.15 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
* {
font-family: Consolas, monaco, monospace;
}
body {
margin: 0;
padding: 0;
}
html {
scroll-snap-type: y mandatory;
overflow-y: scroll;
}
.parent-container {
background-color: #FFD7E1;
height: 100vh;
width: 100vw;
overflow: hidden;
scroll-snap-align: start;
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
}
.child-container{
padding: 25px;
width: 90%;
height: 90%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: aquamarine;
border-radius: 25px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
gap: 25px;
}
.child-container img {
width: 100%;
height: 100%;
border-radius: 25px;
object-fit: cover;
}
#rotating-text-section img {
max-width: inherit;
max-height: inherit;
height: inherit;
width: inherit;
object-fit: cover;
}
#rotating-text {
padding: 20px;
background-color: aliceblue;
}
#rotating-text-section {
background-size: auto 100%;
background-position: center;
}