Skip to content

Instantly share code, notes, and snippets.

View GrzegorzPerko's full-sized avatar

Grzegorz Perko GrzegorzPerko

  • Białystok
View GitHub Profile
.mousescroll {
border: 3px solid #FFF;
width: 30px;
height: 50px;
position: absolute;
top: 50%;
left: 50%;
margin: -25px 0 0 -15px;
border-radius: 15px;
@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%;