How to use it: 1. It’s perfect because a checkbox has two common interactive states — checked and unchecked (there’s also the indeterminate) — that can be used to trigger those states. CSS3 Image Accordion. A CSS only, fully responsive, print-ready HTML5 presentation template that switches between slides with a cool rotate effect. Perhaps use CSS3 transitions? Now if you reload your browser tab, you should see your image rotating a single time over 2 seconds (2s).But we need to do two more things. We want the image to rotate continuously, and we want to change the animation transition timing from the default ease to a consistent speed curve, called linear.. Add this .linear declaration block to your CSS stylesheet: CSS: Animation Using CSS Transforms Tweet 7 Shares 0 Tweets 40 Comments. HTML CSS JavaScript jQuery PHP Bootstrap Google MySQL Image. First, we will create a rectangle with red background color having width 350 px and height 100 px. This is where the Checkbox Hack comes into play. The animation will utilize the CSS “rotateY” property. Here’s how I made it. Look Inside. Now it’s time to tackle the animation. The tweening between the “from” and “to” points will create the animation. CSS