-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
131 lines (127 loc) · 2.11 KB
/
index.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600;800&display=swap");
body {
background-image: url(assets/images/frontend\ img.svg);
height: 100vh;
font-family: "Poppins", sans-serif;
}
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 90%;
width: 90%;
background: rgb(245, 242, 242);
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.confetti {
display: block;
margin: 0 auto;
border: 1px solid #ddd;
user-select: none;
}
.can {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow-y: hidden;
}
input {
width: 70px;
padding: 10px;
border: 0.5px solid rgb(207, 198, 198);
border-radius: 3px;
font-weight: 600;
}
.age__cont {
width: fit-content;
height: fit-content;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 7px;
border-bottom-right-radius: 20%;
background: white;
padding: 20px;
}
.tag {
position: absolute;
bottom: 0;
left: 50%;
transform: translate(-50%, -50%);
padding-bottom: 0px;
color: rgb(184, 170, 170);
font-size: 14px;
}
.tag span {
color: blueviolet;
}
.date {
display: flex;
gap: 30px;
}
.day {
display: flex;
flex-direction: column;
}
.display {
display: none;
}
.display p {
font-size: 40px;
line-height: 0;
font-weight: 800;
}
.material-symbols-outlined {
background: blueviolet;
cursor: pointer;
border-radius: 50%;
color: white;
padding: 5px;
transition: 0.5s ease;
}
.material-symbols-outlined:hover {
transform: scale(1.2);
}
.display span {
color: blueviolet;
}
label {
font-size: 12px;
}
.day p {
font-size: 12px;
display: none;
color: red;
}
.icon {
display: flex;
align-items: center;
margin: auto;
justify-content: center;
margin-top: 5px;
gap: 10px;
}
@media screen and (max-width: 600px) {
input {
width: 30px;
padding: 5px;
}
input::-webkit-inner-spin-button {
appearance: none;
}
.date {
gap: 10px;
}
.display p {
font-size: 30px;
}
.age__cont {
width: 90%;
}
}