-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (109 loc) · 2.15 KB
/
style.css
File metadata and controls
109 lines (109 loc) · 2.15 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
*{
margin: 0;
padding: 0;
}
.container{
width: 100%;
height: 100vh;
font-family: sans-serif;
background: rgba(187, 187, 245);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
}
.card{
width: 350px;
height: 500px;
box-shadow: 0 0 40px 20px rgba(0, 0, 0, 0.26);
perspective: 1000px;
}
.inner-box{
position: relative;
width: 100%;
height: 100%;
transform-style: preserve-3d;
transition: transform 1s;
}
.card-front, .card-back{
position: absolute;
width: 100%;
height: 100%;
background-position: center;
background-size: cover;
background-image: linear-gradient(rgba(0, 0, 100, 0.8), rgba(0, 0, 100, 0.8)),url(./background.jpg);
padding: 55px;
box-sizing: border-box;
backface-visibility: hidden;
}
.card-back{
transform: rotateY(180deg);
}
.card h2{
font-size: 24px;
font-weight: normal;
text-align: center;
margin-bottom: 20px;
}
.input-box{
width: 100%;
background: transparent;
border: 1px solid #fff;
margin: 6px 0;
height: 32px;
border-radius: 20px;
padding: 0 10px;
box-sizing: border-box;
outline: none;
text-align: center;
color: #fff;
}
::placeholder{
color: #fff;
font-size: 12px;
}
button{
width: 100%;
background: transparent;
border: 1px solid #fff;
margin: 35px 0 10px;
height: 32px;
font-size: 12px;
border-radius: 20px;
padding: 0 10px;
box-sizing: border-box;
outline: none;
color: #fff;
cursor: pointer;
}
.submit-btn{
position: relative;
}
.submit-btn::after{
content: '\27a4';
color: #333;
line-height: 32px;
font-size: 17px;
height: 32px;
width: 32px;
border-radius: 50%;
background: #fff;
position: absolute;
right: -1px;
top: -1px;
}
span{
font-size: 13px;
margin-left: 10px;
}
.card .btn{
margin-top: 70px;
}
.card a{
color: #fff;
text-decoration: none;
display: block;
text-align: center;
font-size: 13px;
margin-top: 8px;
}