[英]Putting border-radius to the shape/image
您必须为每个框添加一个位置,并为每个人更改边距。
尝试添加这样的转换和包装块:
.wrap {
overflow: hidden;
width: 990px;
}
.box1 {
width:990px;
height:300px;
margin:0 auto;
background: url('https://s9.postimg.org/vq8kj53an/Selection_025.png');
border-radius: 0 0 40% 40%;
transform: scalex(1.3);
}
网址:
<div class="wrap">
<div class="box1"></div>
</div>
<div class="box2"></div>
<div class="box3"></div>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.