-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
102 lines (95 loc) · 1.6 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html{
scroll-behavior: smooth;
overflow-x: hidden;
user-select: none;
}
body{
width: 100vw;
height: 100vh;
background-color: rgba(94, 92, 92, 0.212);
}
form{
width:25rem;
height: 30rem;
background-color: white;
border: 1px solid lightgray;
border-radius: 15px;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
gap:2rem;
overflow: hidden;
}
h3{
text-align: center;
font-size: 2rem;
color:teal;
}
input{
outline: none;
background: rgba(166, 240, 240, 0.103);
width: 60%;
font-size: 0.9rem;
caret-color: tomato;
padding: 0.5rem;
border: 1px solid rgba(40, 131, 131, 0.377);
border-radius: 5px;
font-weight: 500;
}
input:focus{
color: teal;
border-color:teal;
}
button{
padding: 0.7rem;
width: 60%;
border: none;
outline: none;
background: tomato;
color: white;
border-radius: 5px;
cursor: pointer;
}
p{
color: gray;
}
a{
color: tomato;
}
input:invalid{
border-color: brown;
color: brown;
}
.container{
height: 100%;
width: 100%;
display: grid;
place-items: center;
position: relative;
}
#sign-in,#sign-up{
position: absolute;
}
.active{
transform: rotate(-5deg);
z-index: 0;
}
div:not(.active){
transform: rotate(0);
z-index: 1;
animation: moving .3s ease-in-out;
}
@keyframes moving{
from{
transform:perspective(200px) rotateY(180deg);
}
to{
transform:perspective(200px) rotate(0);
}
}