不用css3,如何实现边框的圆角处理?我知道就是用背景图片,还有没有其他方法?
3条回答 默认 最新
- abcfgh 2017-10-26 08:30关注
采用svg
<svg width="100" height="100"> <desc>SVG圆角效果</desc> <defs> <pattern id="raduisImage" patternUnits="userSpaceOnUse" width="100" height="100"> <image xlink:href="test.jpg" x="0" y="0" width="625" height="605" /> </pattern> </defs> <circle cx="50" cy="50" r="50" fill="url(#raduisImage)"></circle> </svg>
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报