I created a 1/2 hour animation effect that looks like the one you want. I hope to find a solution to provide accurate animation.
the code
For animation you need markup:
<div class="wrapper"> <div class="content"> This is a good day. Maybe. </div> <div class="rotate"></div> <div class="mask"></div> </div>
- wrapper - used to set the content position
- content - your content in a div (or any other element)
- rotate - animation to simulate 1/2 measure
- mask - animation to hide
content
And this is CSS (written in SCSS ):
Variables
$width: 200px; $height: 200px; $duration: 2s; $delay: 1s; $color-alpha:
Demo
You can see the live demo on CodePen: 1/2 hour animation
source share