visit
Use CSS Filter and Keyframes to Create Awesome Effects
One CSS property not commonly used is the filter property, CSS Filters are a powerful tool. Authors can use to achieve varying visual effects (sort of like Photoshop filters for the browser). The CSS filter property provides access to effects like blur or color shifting on an element’s rendering before the element display. The filters are used to adjust the rendering of an image, a background, or a border.Using More Than One Property At The Same Time
Also, another awesome feature of the filter is that we can use more than one property at the same time.Setting many properties for being used:The first to set here is a very short animation-duration less than 0.5. Seconds also an animation-iteration-count: infinite to make the animation a loop.
Setting the values at the start of the animation invert(0%) and at the half of the animation set invert value to their maximum value invert(100%).
Here the trigger of the animation is a click event and in this case animation-duration:8s. The animation starts with an explosion of saturation and brightness. The brightness set at its maximum brightness( 200%) and saturation of twenty times of the original image saturate(20). At 25% of the animation the brightness return to original image value that is brightness(100%), the saturation also decreases at a value saturate(5). At the end of the animation, the saturation return at its original value of the image saturate(1).
This time take animation-duration:9s the animation starts with two flashing lights like a clap of thunder. The way to get this effect it to set at the start of the animation the brightness at its maximum brightness( 200%) and also is set an opacity(0.2).
Close to 0 because when the opacity is close to 0 the element turn totally white. So it's used to make brightness more blinder and without losing its fluidness. Then the filters return to the original state brightness( 100%), opacity(1). Now just have to repeat the same filter twice using the same filters, to finish the ending have a fluid blur filter.