forked from sagnik403/advance-css
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
180 lines (155 loc) · 3.08 KB
/
style.css
File metadata and controls
180 lines (155 loc) · 3.08 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
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
*{
margin: 0px;
padding: 0px;
font-family: sans-serif;
}
header{
width: 100%;
height: 100vh;
background-image: linear-gradient(to left, #fff 80%, #c3f5ff 20%);
}
.navsection{
width: 100%;
height: 20vh;
display: flex;
justify-content: center;
align-items: center;
background-image: linear-gradient(to top, #fff 80%, #c3f5ff 20%);
}
.logo{
width: 40%;
color: white;
background-image: linear-gradient(#8d98e3 40%, #854fee 60%);
padding-left: 100px;
box-sizing: border-box;
}
.logo h1{
text-transform: uppercase;
font-size: 1.6rem;
animation: agepiche 2s linear infinite;
animation-direction: alternate;
}
@keyframes agepiche{
from{
padding-left: 40px;
}
to{
padding-right: 40px;
}
}
nav{
width: 60%;
display: flex;
justify-content: space-around;
}
nav a{
text-decoration: none;
text-transform: uppercase;
color: #000;
font-weight: 900;
font-size: 17px;
position: relative;
}
nav a:first-child{
color: blueviolet;
}
nav a:before{
content: "";
position: absolute;
top: 110%;
left: 0;
width: 0;
height: 2px;
border-bottom: 2px solid #4458dc;
transition: all 0.4s linear;
}
nav a:hover::before{
width: 100%;
}
main{
height: 80vh;
display: flex;
justify-content: space-around;
align-items: center;
}
.rightside{
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
background-color: #854fee;
}
.rightside img{
max-width: 400px ;
height: auto;
}
.leftside{
color: black;
text-transform: uppercase;
}
.leftside h3{
font-size: 40px;
margin-bottom: 20px;
}
.leftside h3:after{
content: "";
width: 450px;
height: 3px;
position: relative;
top: 43%;
left: 23.3%;
background: #000;
}
.leftside h1{
margin-top: 20px;
font-size: 70px;
margin-bottom: 25px;
}
.leftside h2{
margin-bottom: 35px;
font-weight: 500;
word-spacing: 4px;
}
.leftside .btn1{
text-decoration: none;
font-weight: 900px;
font-size: 14px;
text-align: center;
padding: 12px 25px;
cursor: pointer;
text-transform: uppercase;
border-radius: 5px;
display: inline-block;
margin-right: 50px;
color: #fff;
letter-spacing: 0;
background-image: linear-gradient(to right, #4458dc, #854fee 100%), radial-gradient(circle at top left,#4458dc, #854fee);
border: double 2px transparent;
box-shadow: 0 10px 30px rgba(118, 85, 225, .3);
}
.btn2{
margin-right: 50px;
border: 2px solid #4458dc;
color: #222;
background-color: #fff;
box-shadow: none;
}
.btn1:hover{
border: 2px solid #4458dc;
color: #222;
background-color: #fff;
box-shadow: none;
background-image: none;
}
.leftside .btn2{
text-decoration: none;
font-weight: 900px;
font-size: 14px;
text-align: center;
padding: 12px 25px;
cursor: pointer;
text-transform: uppercase;
border-radius: 5px;
display: inline-block;
margin-right: 50px;
color: #222;
background-color: #fff;
box-shadow: none;
}