Created
September 22, 2013 23:00
Revisions
-
scottsappen created this gist
Sep 22, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ //when hovering, change the cover and move the element up a few pixels color: #9ed846; transform: translate(0,-4px); -webkit-transform: translate(0,-4px); -o-transform: translate(0,-4px); -moz-transform: translate(0,-4px); -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; //and when done hovering, change the cover and return it to its original position color: #444; transform: translate(0,0px); -webkit-transform: translate(0,0px); -o-transform: translate(0,0px); -moz-transform: translate(0,0px); -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out;