的webkit-mask-image
面具移動頁面谷歌地圖半徑轉彎
body{
height:1500px;
}
#wrapper {
margin-top:250px;
width: 300px;
height: 300px;
border-radius: 100px;
overflow: hidden;
position: absolute; /* this breaks the overflow:hidden in Chrome/Opera */
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC); /* this fixes the overflow:hidden in Chrome/Opera */
}
#map1 {
width: 300px;
height: 300px;
}
如何使WebKit的掩碼圖像靜態?謝謝
更換您的數據你有沒有想出解決辦法? –
Duplicate:http://stackoverflow.com/questions/18792402/css-webkit-mask-image –
在這裏看到我的答案http://stackoverflow.com/a/18836164/1477388 – user1477388