Created
September 18, 2012 17:20
-
-
Save hatefulcrawdad/3744419 to your computer and use it in GitHub Desktop.
Foundation Orbit Nav on Hover
This file contains 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 characters
/* SCSS */ | |
.orbit-wrapper { | |
.slider-nav span { @include opacity(0); @include single-transition(opacity, 400ms); } | |
&:hover .slider-nav span { @include opacity(1); } | |
} | |
/* CSS */ | |
.orbit-wrapper .slider-nav span { filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); opacity: 0; -webkit-transition: opacity 400ms; -moz-transition: opacity 400ms; -o-transition: opacity 400ms; transition: opacity 400ms; } | |
.orbit-wrapper:hover .slider-nav span { filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); opacity: 1; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment