0
我需要跨越图像的三角形div边框的交叉浏览器解决方案。也许我应该使用“画布”或其他东西。主格必须具有自动高度和图像始终在固定位置。在图像上方的CSS三角形边框
.border {
width: 600px;
border: 3px solid blue;
min-height: 400px;
overflow: hidden;
position: relative;
}
.border_image{
float: right;
background: url("http://assets.worldwildlife.org/photos/35/images/circle/Macaw_circle_image_(c)_Zig_Kock_WWF.jpg?1345562675") no-repeat;
width:150px;
height:150px;
position: absolute;
right:-20px;
}
<div class="border">
<div class="border_image"></div>
</div>
它的伟大!感谢你们! – desp12 2015-04-06 06:29:10