JSFiddle - React, Tailwind, and code Playground
by jensgram
HTML
<ul>
<li><img src="content/img/logos/pon.jpg" alt="PON" width="111" height="63" /></li>
<li><img src="content/img/logos/spo.png" alt="SPO Utrecht" width="130" height="67" /></li>
<li><img src="content/img/logos/campus.jpg" alt="Onderwijs Campus" width="137" height="86" /></li>
<li><img src="content/img/logos/cpwb.png" alt="CPWB" width="112" height="99"/></li>
<li><img src="content/img/logos/expertis.jpg" alt="Expertis" width="120" height="56" /></li>
<li><img src="content/img/logos/inos.jpg" alt="Inos" width="211" height="67" /></li>
<li><img src="content/img/logos/OSG.jpg" alt="OSG" width="130" height="51" /></li>
<li><img src="content/img/logos/pio.png" alt="Pio" width="138" height="92" /></li>
<li><img src="content/img/logos/Signum.png" alt="Signum" width="181" height="68" /></li>
<li><img src="content/img/logos/vgs.png" alt="VGS" width="192" height="63" /></li>
</ul>
<hr />
<div id="out"></div>
JavaScript
var $allLi = $('ul li'),
showRandom = function() {
$allLi.hide().sort(function() {
return Math.round(Math.random()) - 0.5;
}).slice(0, 5).show();
};
showRandom();
setInterval(showRandom, 1500);