HTML and CSS Reference
In-Depth Information
Example
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title> mask-size Example </title>
<style type="text/css">
img.masked {-webkit-mask-image: url(starmask3.png);}
</style>
</head>
<body>
<img src="tucker.jpg" width="200" height="133"
class="masked">
<img src="tucker.jpg" width="200" height="133"
class="masked" style="-webkit-mask-size: 10px;">
<img src="tucker.jpg" width="200" height="133"
class="masked" style="-webkit-mask-size: 50px 50px;">
<img src="tucker.jpg" width="200" height="133"
class="masked" style="-webkit-mask-size: 200px 133px;">
</body>
</html>
O NLINE http://htmlref.com/ch6/masksize.html
Compatibility
No specification
Chrome 3+, Safari 4+
Search WWH ::




Custom Search