How to create div with curve in css and html5?

后端 未结 3 1858
悲哀的现实
悲哀的现实 2021-01-27 17:23

I am newbie in css world and I am trying to make responsive design like this using bootstrap,css and html5.

but ended up like this.

how to create same

3条回答
  •  無奈伤痛
    2021-01-27 17:54

    You should use percentage to define the border-radius, in this way the curve will look like the one you want.

    border-radius: 100%
    

    http://codepen.io/FezVrasta/pen/XKvkJX?editors=1100

提交回复
热议问题