-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrate.html
More file actions
85 lines (72 loc) · 1.43 KB
/
rate.html
File metadata and controls
85 lines (72 loc) · 1.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rate Us</title>
<style>
* {
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', sans-serif;
background: #f0f4f8;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.rating-container {
background: white;
padding: 40px;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
text-align: center;
max-width: 400px;
width: 100%;
}
.rating-container h2 {
margin-bottom: 20px;
color: #333;
}
.stars {
display: flex;
justify-content: center;
gap: 10px;
margin-bottom: 20px;
}
.star {
font-size: 40px;
cursor: pointer;
color: #ccc;
transition: transform 0.2s ease;
}
.star:hover,
.star:hover ~ .star {
color: #facc15; /* gold */
transform: scale(1.2);
}
input[type="radio"] {
display: none;
}
input[type="radio"]:checked ~ label.star {
color: #facc15;
}
.submit-btn {
background: #4f46e5;
color: white;
border: none;
padding: 12px 24px;
font-size: 16px;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease;
}
.submit-btn:hover {
background: #4338ca;
}
</style>
</head>
<body>
</body>
</html>