1
我想了一圈夾適用於我的圖片如何使用剪輯路徑創建簡單的圓形遮罩CSS3?
<style>
.circle {
-webkit-clip-path: circle(50%,50%,10%);
clip-path: circle(50%,50%,10%);
};
</style>
</head>
<body>
<img src="image1.jpg" width="1024" height="768" alt="" class="circle"/>
</body>
,這只是利己不行
.circle {
-webkit-clip-path: circle(50%,50%,10%);
clip-path: circle(50%,50%,10%);
};
<img src="http://cp91279.biography.com/Leonardo-da-Vinci_A-Divine-Mind_HD_768x432-16x9.jpg" width="1024" height="768" alt="" class="circle"/>
我不希望使用任何邊界半徑!
退房http://caniuse.com/#feat=css-clip-path,看來夾路徑不能很好地支持,只有作品在相當特殊的情況下。 – 2014-11-04 03:09:27