iOS notify count
HTML
<div class="notify-count">1</div>
CSS
body {
background: #333;
margin: 20px;
}
.notify-count {
width: 35px;
height: 35px;
text-align: center;
line-height: 2em;
display:inline-block;
border-radius: 50%;
color: white;
font-weight: bold;
border: 2px solid white;
font-family: 'Helvectica Neue';
box-shadow: inset 0 0 7px rgba(0,0,0,0.8);
text-shadow: 0 1px 2px rgba(0,0,0,0.5);
-webkit-box-sizing: border-box;
-webkit-user-select: none;
cursor: pointer;
background: #eb9a9c; /* Old browsers */
background: -moz-linear-gradient(top, #eb9a9c 0%, #ea6c6f 50%, #e93f40 51%, #db1f19 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eb9a9c), color-stop(50%,#ea6c6f), color-stop(51%,#e93f40), color-stop(100%,#db1f19)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #eb9a9c 0%,#ea6c6f 50%,#e93f40 51%,#db1f19 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #eb9a9c 0%,#ea6c6f 50%,#e93f40 51%,#db1f19 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #eb9a9c 0%,#ea6c6f 50%,#e93f40 51%,#db1f19 100%); /* IE10+ */
background: linear-gradient(to bottom, #eb9a9c 0%,#ea6c6f 50%,#e93f40 51%,#db1f19 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eb9a9c', endColorstr='#db1f19',GradientType=0 ); /* IE6-9 */
}
JavaScript
var count = 1;
setInterval(function(){
count++;
$('.notify-count').html(count);
count==9&&(count=0);
},300);