JSFiddle - React, Tailwind, and code Playground

HTML

<div class="box">

<div id="apDiv1"><p><img src="http://4.bp.blogspot.com/_UkDBPY_EcP4/TUr43iCI-FI/AAAAAAAADR0/o9rAgCt9d-U/s1600/1242796868203109724Number_1_in_green_rounded_square_svg_med.png"  width="200" height="115" id="img-1"/></p></div>
<div id="apDiv2"><p><img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRZv4hqGcyV6OqP0hI3uAiQVwHHgPuqcTl2NppFRyvbxXLVokbs"  width="200" height="115" id="img-2"/></p></div>
<div id="apDiv3"><p><img src="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcQaplzZIaF-uTQKnvfK9N9i-Rg27F6aHtSchQZaGR-DITgO1bDwzA"  width="200" height="115" id="img-3"/></p></div>
<div id="apDiv4"><p><img src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQjTbe5WfEnT840gIChKfbzlVnoPPoZsyrT4zjMReym9YpsRdOFvA"  width="200" height="115" id="img-4"/></p></div>
<div id="apDiv5"><p><img src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcRWtiMAcxGe-RQw2gRwUUiyB5aRTMeVMG5LSCPF0Qpzes-USpgyTw"  width="200" height="115" id="img-5"/></p></div>
<div id="apDiv6"><p><img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTXDhOygDcNsNVsv0eIXLYdBx4C-tmedIRhFfxGlCoCfNy04YU_"  width="200" height="115" id="img-6"/></p></div>
<div id="apCenterDiv"><img src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcR42cgsKsYMWey79jT0XsTkMOyxc9oej9fVt-udxQvnVFOadpPQ"  width="200" height="115" /></div>
    
</div>

CSS

.box{
    width:740px;
    height:535px;
    position:relative;
}

#apCenterDiv {
	position:absolute;
	width:200px;
	height:115px;
	z-index:1;
	left: 271px;
	top: 209px;
}
#apDiv1 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:2;
	left: 270px;
	top: 4px;
}
#apDiv2 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:3;
	left: 521px;
	top: 134px;
}
#apDiv3 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:4;
	left: 522px;
	top: 328px;
}
#apDiv4 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:5;
	left: 272px;
	top: 385px;
}
#apDiv5 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:6;
	left: 19px;
	top: 329px;
}
#apDiv6 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:7;
	left: 19px;
	top: 135px;
}

JavaScript

$(document).ready(function() {
    var el = $(".box"), degree = 0;
    
    var rotate = function () { 
        el.css({ 
                 'transform': 'rotate(' + degree + 'deg)',
                 '-webkit-transform': 'rotate(' + degree + 'deg)',
                 '-moz-transform': 'rotate(' + degree + 'deg)',
                 '-ms-transform': 'rotate(' + degree + 'deg)',
                 '-o-transform': 'rotate(' + degree + 'deg)',
               });      
    }
    
    var timer = setInterval(function() {
            rotate(); degree++;
        },5);
    
    rotate();
});