-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (115 loc) · 2.02 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
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
.container{
width: 100%;
height: 100vh;
background-image: linear-gradient(rgba(0,0,0,0.3), transparent), url(./pics/background.png);
background-size: cover;
background-position: center;
padding: 0 8%;
position: relative;
}
nav{
display: flex;
width: 100%;
align-items: center;
padding: 5px 0;
flex-wrap: wrap;
}
.logo{
width: 120px;
cursor: pointer;
}
.cart{
width: 30px;
cursor: pointer;
}
nav ul{
flex: 1;
text-align: right;
padding-right: 30px;
}
nav ul li{
list-style: none;
display: inline-block;
margin: 10px 30px;
}
nav ul li a{
text-decoration: none;
color: #fff;
position: relative;
}
nav ul li a::after{
content: '';
width: 0;
height: 2px;
color: #fff;
position: absolute;
left: 50%;
bottom: -3px;
background: #fff;
transition: .3s;
transform: translateX(-50%);
}
nav ul li a:hover::after{
width: 100%;
}
.text-area{
position: absolute;
bottom: 8%;
}
.text-area p{
font-size: 50px;
font-weight: 600;
color: #fff;
}
.text-area h1{
font-size: 190px;
line-height: 160px;
margin-left: -10px;
color: transparent;
-webkit-text-stroke: 1px #fff;
background: url(./pics/back.png);
-webkit-background-clip: text;
background-position: 0 0;
animation: backgr 20s linear infinite;
}
/* Animation */
@keyframes backgr{
100%{
background-position: 2000px 0;
}
}
.text-area h3{
font-size: 40px;
font-weight: 500;
color: #fff;
}
.bottom{
display: flex;
flex-wrap: wrap;
align-items: center;
color: #fff;
}
.bottom a{
text-decoration: none;
color: #fff;
border: 2px solid #fff;
padding: 10px 20px;
margin-right: 20px;
border-radius: 3px;
}
.social-icon{
position: absolute;
right: 5%;
bottom: 8%;
}
.social-icon img{
width: 25px;
display: block;
margin: 25px 5px;
}