I am trying to create a wait/countdown screen that shows an eye along with the eyelid, and eyeball with an iris effect. Given that so many of us spend time pointlessly star
Version without counter
d
Variant with add countdown
var checks = 100,
checker = setInterval(Count, 2100);
function Count() {
document.getElementById('txt1').textContent = --checks;
if (0 === checks) clearInterval(checker);
}
.container {
background:silver;
}
svg {
display:block;
width:15%;
height:23%;
padding-left:0.5em;
padding-bottom:1.5em;
margin:1em;
border-radius:50%;
-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75);
box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75);
background:#8C6282;
}
#txt1 {
font-size: 40px;
font-weight:bold;
fill:#FFDD00;
stroke:#917E00;
text-anchor:middle;
}