mirror of https://github.com/IanLunn/Hover.git
Merge e7bf30e638
into eb8629df13
This commit is contained in:
commit
5a4806c57a
|
@ -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 */
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue