-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhappynewyearstyle.css
102 lines (96 loc) · 1.89 KB
/
happynewyearstyle.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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
body{
height: 100vh;
background-image: url("newyearbg.jpg");
background-position: center;
background-color: black;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
}
.main{
z-index: 10;
position: relative;
height: 550px;
width: 1100px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
color: rgba(245,245,245,0.5);
background: rgba(245,245,245,0.08);
box-shadow: 0.1px 4px 15px 2px rgba(10,10,10,0.15);
overflow: hidden;
}
.main #title{
font-size: 40px;
text-transform: capitalize;
letter-spacing: 2px;
}
.main ul{
margin-top: 80px;
width: 80%;
height: 150px;
display: flex;
align-items: center;
justify-content: center;
list-style: none;
padding: 20px 0;
border: 5px solid rgba(245,245,245,0.1);
}
.main ul li{
font-weight: bold;
font-size: 28px;
margin: 0 35px;
letter-spacing: 1px;
}
.main ul li p{
font-size: 35px;
font-weight: bold;
text-transform: capitalize;
-webkit-box-reflect: below 1px linear-gradient(transparent, #0004);
}
/* form part */
.form{
position: relative;
margin-top: 50px;
width: 50%;
height: 60px;
}
.form input{
width: 100%;
height: 100%;
outline: none;
padding: 0 20px;
font-size: 15px;
letter-spacing: 1px;
background: transparent;
color: rgba(245,245,245,0.4);
border: 1px solid rgba(245,245,245,0.2);
}
.form input::placeholder{
color: rgba(245,245,245,0.4);
}
.form i{
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
font-size: 20px;
cursor: pointer;
}
/* social part */
.social{
position: absolute;
bottom: 15px;
}
.social i{
padding: 0 7px;
}