Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (29 sloc) 604 Bytes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS filters examples</title>
<style>
html {
font-family: impact, sans-serif;
}
h2 {
width: 250px;
height: 250px;
text-align: center;
line-height: 250px;
font-size: 75px;
display: inline-block;
background: url(colorful-heart.png) no-repeat center;
}
.text-clip {
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>
</head>
<body>
<h2>WOW</h2>
<h2 class="text-clip">WOW</h2>
</body>
</html>
You can’t perform that action at this time.