是的,这可以通过左下角的插图box-shadow
和a的组合来实现border-radius
。
的border-radius
底部左侧产生弯曲的底侧和插图box-shadow
产生的着色区域。底边的曲率(内侧和外侧)可以通过调整border-radius
父容器上的增大/减小。
.bordered {
position: relative;
width: 300px;
height: 75px;
padding-left: 25px;
background: transparent;
border-bottom-left-radius: 40px;
box-shadow: inset 100px -15px 0px darkorange;
text-transform: uppercase;
font-weight: bold;
font-size: 12px;
}
.bottom-right {
position: absolute;
right: 10px;
bottom: 2px;
color: black;
font-size: 11px;
}
/* just for demo */
body {
background: black;
}
<div class="bordered"><span>Schematic</span>
<span class="bottom-right">1234567890</span>
</div>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句