This commit is contained in:
kyl3r92 2022-11-16 02:39:20 -04:00 committed by GitHub
commit 5a4806c57a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -4149,4 +4149,26 @@
height: 25px;
}
.hvr-replacement-transparency {
display: block;
position: absolute;
transition-duration 0.3s;
-webkit-transition-duration: 0.3s;
transition-property: opacity;
}
.hvr-replacement-transparency.before, .hvr-replacement-transparency.after:hover {
opacity: 1;
}
.hvr-replacement-transparency.after, .hvr-replacement-transparency.before:hover {
opacity: 0;
}
.hvr-replacement-transparency.before, .hvr-replacement-transparency.after {
transition: opacity 0.5s linear;
}
/*# sourceMappingURL=hover.css.map */

View File

@ -246,6 +246,13 @@
<a href="#" class="hvr-curl-top-right">Curl Top Right</a>
<a href="#" class="hvr-curl-bottom-right">Curl Bottom Right</a>
<a href="#" class="hvr-curl-bottom-left">Curl Bottom Left</a>
<h2>Replacements / Spoiler tags</h2>
<div>
<a href="#" class="hvr-replacement-transparency before">Before</a>
<a href="#" class="hvr-replacement-transparency after">After</a>
</div>
</div>