Is it possible to have a non-rectangular div?

前端 未结 10 1920
滥情空心
滥情空心 2021-01-11 14:26

I need to shape ONE div tag in the following shape:

Is it possible to make it cross browser? I don\'t necessarily need rounded

10条回答
  •  再見小時候
    2021-01-11 14:53

    Perhaps you could use Border-radius along with 2 or 3 div's to get the look you want. The only issue then is it's not supported in all browsers.

提交回复
热议问题