📜  css3 背景图片曲线 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:58.236000             🧑  作者: Mango

代码示例1
body {
  margin: 0;
  background: red;
}

div#back {
  position: relative;
  height: 200px;
  background-image: url(http://wearepeak.co.uk/wp-content/uploads/2016/02/testimonial.jpg);
  width: 100%;
  border-bottom-left-radius: 70% 60px;
  border-bottom-right-radius: 30% 10px;
}