Spaces:
Sleeping
Sleeping
File size: 1,329 Bytes
7678e61 |
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 |
body {
overflow: hidden;
}
.mic-container {
height: 100vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
.circle {
width: 80px;
height: 80px;
border-radius: 50%;
background: #ffffff;
display: flex;
justify-content: center;
align-items: center;
z-index: 1;
transition: 0.5s;
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
i {
color: #b2b1b1;
font-size: 23px;
transition: 0.9s;
}
&:before {
content: '';
width: 80px;
height: 80px;
border-radius: 50%;
opacity: 0.2;
z-index: -1;
position: absolute;
}
}
.circle.active {
background: #ff0000;
&:before {
background: gray;
animation: bounce 0.8s ease-in-out infinite 0.5s;
}
i {
color: #ffffff;
}
}
}
@keyframes bounce {
0% {
transform: scale(1);
}
25% {
transform: scale(1.4);
}
75% {
transform: scale(1);
}
100% {
transform: scale(1.3);
}
}
.output-container {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: rgba(255, 255, 255, 0.8);
border-radius: 10px;
padding: 10px 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
|