是否可以在background-image上
添加border-radius?
是的,可以:
div {
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
border: none;
width: 500px;
height: 335px;
background: url(http://themescompany.com/wp-content/uploads/2012/02/6402.jpg);
}
Click here for demo.
原文链接:https://www.f2er.com/css/218763.html