domius,
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<style type="text/css">
div {
width: 100px;
height: 100px;
background: #ccc;
display: inline-block;
}
</style>
</head>
<body id="d1">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<script>
(function () {
var div = document.getElementById('d1'),
div_len = div.children;
var i = 0;
(function foo(a) {
var counter = 4,
pixeles = 0,
time = setInterval(function () {
div_len[a].style.transform = 'rotate('+pixeles+'deg)';
div_len[a].style.WebkitTransform = 'rotate('+pixeles+'deg)';
if(pixeles >= 360) {
clearInterval(time);
i++;
if (i < div_len.length)foo(i)
}
pixeles+=counter;
}, 10)
})(i);
}());
</script>
</body>
</html>