-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
118 lines (107 loc) · 1.98 KB
/
styles.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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background: black;
color: white;
}
nav{
background:yellowgreen;
height: 80px;
width: 100%;
}
nav ul{
float: right;
margin-right: 20px;
}
nav ul li{
display: inline-block;
line-height: 80px; /*gap from above */
margin: 0 5px; /*gap in between */
}
nav ul li a{
color: white;
font-size:20px;
text-decoration: none;
padding: 6px 20px;
transition: .5s;
position: relative;
}
nav a:hover{
color:black;
}
nav a span{
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
border-radius: 15px;
border-bottom: 2px solid black;
border: radius 15px;
transform: scale(0) translateY(50px);
transition: .5s;
opacity: 0;
}
nav a:hover span{
transform: scale(1) translateY(2px);
opacity: 1;
}
.home{
width: 100%;
height: 80vh;
display: flex;
align-items: center;
padding: 0 10% ;
}
.content{
margin-top: 10%;
max-width: 600px;
}
.content h1{
font-size: 70px;
color: white;
}
.content h3{
font-size: 32px;
font-weight: 700;
}
.content p{
font: 16px;
animation-delay: 0.5s;
}
.btn{
display: inline-flex;
width: 180px;
height: 48px;
background:linear-gradient(120deg,rgb(0, 55, 255),rgb(209, 9, 192));
font-size: 20px;
color: white;
border-radius: 30px;
justify-content: center;
align-items: center;
animation-delay: 1s;
}
.feature-img{
width: 530px;
position: absolute;
bottom: 0;
right: 10%;
border-radius: 100px;
}
.feature-img.anim{
animation-delay: 1s;
}
.anim{
opacity: 0;
transform: translateY(30px);
animation: moveup .5s linear forwards;
}
@keyframes moveup{
100%{
opacity: 1;
transform: translateY(opx);
}
}