-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathneumorphic.css
100 lines (99 loc) · 2.05 KB
/
neumorphic.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
/* https://redstapler.co/css-neumorphic-login-form-design/ */
* {
box-sizing: border-box;
}
body {
margin: 0;
height: 100vh;
width: 100vw;
overflow: hidden;
font-family: "Lato", sans-serif;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
color: #555;
background: #ecf0f3;
}
.login-div {
width: 430px;
height: 640px;
padding: 60px 35px 35px 35px;
border-radius: 40px;
background: #ecf0f3;
box-shadow: 13px 13px 20px #cbced1, -13px -13px 20px #ffffff;
}
.logo {
background: url("gatsby.png");
background-size: cover;
width: 100px;
height: 100px;
border-radius: 50%;
margin: 0 auto;
box-shadow:
/* logo shadow */ 0px 0px 2px #5f5f5f,
/* offset */ 0px 0px 0px 5px #ecf0f3, /*bottom right */ 8px 8px 15px #a7aaaf,
/* top left */ -8px -8px 15px #ffffff;
}
.title {
text-align: center;
font-size: 28px;
padding-top: 24px;
letter-spacing: 0.5px;
}
.sub-title {
text-align: center;
font-size: 15px;
padding-top: 7px;
padding-bottom: 7px;
letter-spacing: 3px;
}
.signin-button {
outline: none;
border: none;
cursor: pointer;
width: 100%;
height: 60px;
border-radius: 30px;
font-size: 20px;
font-weight: 700;
font-family: "Lato", sans-serif;
color: #fff;
text-align: center;
background: #24cfaa;
box-shadow: 3px 3px 8px #b1b1b1, -3px -3px 8px #ffffff;
transition: 0.5s;
}
.signin-button svg {
height: 22px;
margin: 0 1px -3px;
}
.signin-button:hover {
background: #2fdbb6;
}
.signin-button:active {
background: #1da88a;
}
/*Button-two*/
.button-two {
outline: none;
border: none;
cursor: pointer;
width: 50%;
height: 60px;
border-radius: 10px;
font-size: 20px;
font-weight: 700;
font-family: "Lato", sans-serif;
color: #15737e;
text-align: center;
background: #81d8d0;
box-shadow: 3px 3px 8px #b1b1b1, -3px -3px 8px #ffffff;
transition: 0.5s;
}
.button-two:hover {
background: #33a1de;
}
.button-two:active {
background: #1da88a;
}