Skip to content

Instantly share code, notes, and snippets.

View GrzegorzPerko's full-sized avatar

Grzegorz Perko GrzegorzPerko

  • Białystok
View GitHub Profile
@GrzegorzPerko
GrzegorzPerko / ahover.css
Last active December 26, 2015 16:58
AHOVER - CSS3 Gradient/Image Transition Effect.
/** DON'T FORGET ABOUT <element class="ahover"><span>Text</span></a> IF U USE TEXT ELEMENT *//
.ahover {
display: block;
/** text-indent: -999em; ** if u use only only img **/
position: relative;
}
.ahover:after {
content: "";
height: 100%;