diff --git a/speech-mic/speech-mic.html b/speech-mic/speech-mic.html index 76839e3..053f877 100644 --- a/speech-mic/speech-mic.html +++ b/speech-mic/speech-mic.html @@ -13,7 +13,7 @@ display: inline-block; } } - + #mic { width: 40px; height: 40px; @@ -21,26 +21,28 @@ background: url(images/mic.png) center no-repeat; cursor: pointer; } - + #mic[recognizing=true] { background-color: red; -webkit-animation: zoom 0.75s linear infinite; } - + @-webkit-keyframes zoom { 0% {-webkit-transform: scale(0.75);} 100% {-webkit-transform: scale(1);} } + + [hidden] { + display: none; + }