Draw a curve with css
问题 I want to create an animation with css that simulate a wave movement. I need to change a line-or div- to a curve for this... The CSS rules that I'm familiar to, make the entire div to semicircular or change element border. For example: border-radius , or perspective or border-top-radius ... This image show you what I want: Do you have experience about this? or is it possible? Thanks in Advance... 回答1: You could use an asymmetrical border to make curves with CSS. border-radius: 50%/100px 100px