transition: all 0.5s linear 0s; animation: rotate 1s linear infinite 0.1s; Below, there are four examples that show the multiple effects that different values can create: two hover effects (one with a duration of 0sec and another 0.5sec), together with two loading effects (one with a delay of 0sec and another with 0.1sec, 0.2sec, and 0.3sec for each of the squares). In this example, a set of semi-transparent HTML paragraph tags are … I recently did this 3D animated atom in which I had to employ a couple of weird techniques which I'll try to explain here.. See the Pen Subvisual - Animated Atom by Miguel Palhas on CodePen.. animation: spin 2s infinite; Now, in the same CSS file, create a @keyframe @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } Combining all this into one block, […] The second value is the … A positive integer is a clockwise turn and negative is a counter-clockwise turn. Each side will be marked up as a div child of the 'spinner' element: