-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
96 lines (94 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: poppins, sans-serif;
}
.wrapper {
border: 2px solid black;
height: 100vh;
background-color: #000000a2;
display: flex;
justify-content: center;
align-items: center;
}
.wrapper > form {
background-color: #fff;
max-width: 45%;
height: 40%;
border-radius: 20px;
padding: 10px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 10%;
box-shadow: 0 0 10px;
}
.feed-form > h2 {
text-align: center;
}
.rating-div {
width: 100%;
height: 13vmin;
display: flex;
justify-content: space-evenly;
align-items: flex-start;
position: relative;
}
.rating {
height: 8vmin;
width: 8vmin;
border-radius: 50%;
font-size: larger;
cursor: pointer;
border: 1px solid gray;
}
.not,
.yes {
position: absolute;
bottom: 0;
}
.not {
left: 0;
}
.yes {
right: 0;
}
.input {
width: 100%;
height: 6vmin;
}
.input > input {
width: 80%;
height: 100%;
text-indent: 10px;
border-radius: 10px;
border: 1px solid gray;
}
.input > button {
height: 100%;
width: 18%;
border-radius: 10px;
border: none;
cursor: pointer;
}
.active {
color: #fff;
background-color: pink;
border: none;
}
.feed-change {
animation: trans 1s ease-in 1;
}
@keyframes trans {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0px);
opacity: 1;
}
}