2015-11-05 81 views
0

我有兩個圖像鏈接。如何在css中使用剪裁來混合兩個圖像?

原圖 -

enter image description here

掩蔽圖像 -

enter image description here

下面是結果圖像。

enter image description here

我怎樣才能得到這樣的結果呢?

我找到了一些方法使用CSS - clip-path : rect(....),但我找不到 使用圖像掩碼。

+0

您只是想使用剪輯?如何遵循更簡單的CSS方法將圖像封裝在圓形容器中? '邊界半徑:50%和溢出:隱藏;' –

+0

感謝您的建議。但是還有很多其他的形狀。所以我會找到另一種方式來獲得答案。 – coolwine

回答