A Pen by Captain Anonymous on CodePen.
-
-
Save CodeMyUI/d7b76cad430653b528f2 to your computer and use it in GitHub Desktop.
LpzXPL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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