Можно ли добавить border-radius
в background-image
?
Пограничный радиус на фоновом изображении
Ответ 1
Да, возможно:
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);
}
Ответ 2
Попробуйте это
div {
border: 10px solid white;
-moz-border-radius: 10px;
background:url(map_background_box_right.png);
}