-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
67 lines (63 loc) · 1.24 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
section{
display: grid;
grid-template-columns: repeat(2, 1fr);
}
.title-section{
width: 100%;
height: 100vh;
background: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: sticky;
top: 0;
}
.title-section h2{
font-size: 2rem;
font-weight: 800;
color: #000;
margin-bottom: 1rem;
text-transform: capitalize;
}
.title-section p{
font-size: 1rem;
font-weight: 600;
color: #000;
margin-bottom: 1rem;
}
.title-section button{
padding: 1rem 2rem;
background: #000;
color: white;
border: none;
border-radius: 5px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: 0.5s;
}
.content-sections{
width:100%;
scroll-snap-type: y mandatory;
overflow-y: scroll;
height: 100vh;
}
.content-section{
width: 100%;
height: 100vh;
background-position: center;
background-size: cover;
}
.content-section img{
width: 100%;
height: 100%;
object-fit: cover;
}