sass - Is there a way to make the CSS property mask-image responsive? -


i want image expand width of page. how can mask expand too? if set width/height properties 100% mask not scale, repeats.

here example of trying do. http://cdpn.io/thimv

img {   width: 100%;   height: 100%;    -webkit-mask: url('http://test.com/mask.svg') center center / cover;   -webkit-mask-size: 100% 100%;   -webkit-mask-repeat: no-repeat; } 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -