Wave effect with CSS?

Wave effect is used to give the object a sine wave distortion to make it look wavy.

The following parameters can be used in this filter:

S.NoParameter & Description
A value of 1 adds the original image to the waved image, 0 does not.
The number of waves.
The strength of the light on the wave (from 0 to 100).
At what degree the sine wave should start (from 0 to 100).
The intensity of the wave effect.


You can try to run the following code to set wave effect:

Live Demo


      <img src = "/css/images/logo.png"
         alt = "CSS Logo"
         style = "FILTER: Chroma(Color = #000000)
         Wave(Add=0, Freq=1, LightStrength=10, Phase=220, Strength=10)">

      <p>Text Example:</p>
      <div style = "width: 357;
         height: 50;
         font-size: 30pt;
         font-family: Arial Black;
         color: red;
         Filter: Wave(Add=0, Freq=1, LightStrength=10, Phase=20, Strength=20)">CSS Tutorials</div>

karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know

Updated on: 27-Jun-2020

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started