0
我想用html和css创建粘滞便笺。 我的代码是这样的:css:稍微倾斜的边框半径
.div{
margin:50px;
position:relative;
}
.box {
background: #ff1;
height: 178px;
width: 409px;
margin: 25px;
/*padding: 20px;*/
position: relative;
overflow: hidden;
border-left: 0px;
border-top-left-radius:70px;
border-bottom-right-radius:30px
}
.box:before {
content: "";
display: block;
background: #fff;
position: absolute;
top: -38px;
left: -268px;
width: 310px;
height: 248px;
border-bottom-right-radius: 70px;
padding:0px;
}
<div class="div">
<div class="box"></div>
</div>
我的问题是右按钮 这是相当曲线。但我会稍微倾斜。就像你在图片中看到的一样。 任何机构能帮助我吗?谢谢。
这个链接可以帮助你[CSS边框技巧](https://css-tricks.com/almanac/properties/b/border-radius/) – Arjun
@Arjun这对我有帮助。 :) Tnx很多 –