forked from KhadimeDiongue/oibsip_4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
82 lines (72 loc) · 1.48 KB
/
Copy pathstyle.css
File metadata and controls
82 lines (72 loc) · 1.48 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
/* Reset some default styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Arial', sans-serif;
background: linear-gradient(to right, #6a11cb, #2575fc);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: #fff;
}
.login-container {
background: rgba(255, 255, 255, 0.1);
padding: 30px;
border-radius: 10px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(10px);
width: 300px;
text-align: center;
}
.login-container h2 {
margin-bottom: 20px;
}
.input-group {
position: relative;
margin-bottom: 30px;
}
.input-group input {
width: 100%;
padding: 10px 10px 10px 0;
background: none;
border: none;
border-bottom: 2px solid #fff;
color: #fff;
font-size: 16px;
}
.input-group label {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
transition: all 0.3s ease;
color: #fff;
font-size: 16px;
}
.input-group input:focus + label,
.input-group input:valid + label {
top: 0;
font-size: 12px;
color: #ddd;
}
input:focus {
outline: none;
}
button {
width: 100%;
padding: 10px;
background: #2575fc;
border: none;
border-radius: 5px;
color: #fff;
font-size: 16px;
cursor: pointer;
transition: background 0.3s ease;
}
button:hover {
background: #6a11cb;
}