Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
LpzXPL
<div class="blur">blur</div>
<video autoplay loop>
<source src="//demosthenes.info/assets/videos/polina.webm" type="video/webm">
<source src="//demosthenes.info/assets/videos/polina.mp4" type="video/mp4">
</video>
.blur {
position: absolute;
background: #000;
color: #fff;
padding: 1em;
cursor:pointer;
z-index: 1000;
}
.blur:hover + video {
-webkit-filter: blur(20px);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment