I need to create a wavy border for a div and I am trying to do that with pure CSS, no images.
I know there is this answered question here, but what I want to create is an infinite sine wave as border.
Any ideas?
I need to create a wavy border for a div and I am trying to do that with pure CSS, no images.
I know there is this answered question here, but what I want to create is an infinite sine wave as border.
Any ideas?
I think there is no use hacking CSS to do things like this when other tools offer it much easier and less tricky way. You could for example use some SVG vector graphics to do something like this.
I finnally got it. You just have to use multiple radial gradients, using elipses and changing each background position to fit into the wave. Then, you just need to repeat it :)
See this link to get the effect