question_Paper / static /css /voice-input.css
abhishek2406's picture
appl_file1
8f2f163
Raw History Blame Contribute Delete
552 Bytes
.input-with-voice {
position: relative;
display: flex;
align-items: center;
}
.voice-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background: #007bff;
color: white;
border: none;
margin-left: 8px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.voice-btn.listening {
background: #dc3545;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}