Created
October 24, 2014 11:13
-
-
Save czajkovsky/64f3c1af8bef78937c50 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
.animation-box |
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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// Bourbon (v4.0.2) | |
// ---- | |
@import "bourbon/bourbon"; | |
.animation-box { | |
@include transition(opacity 1.0s); | |
width: 100px; | |
height: 100px; | |
opacity: 1; | |
background: #f00; | |
&:hover { opacity: 0; } | |
} |
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
.animation-box { | |
-webkit-transition: opacity 1s; | |
-moz-transition: opacity 1s; | |
transition: opacity 1s; | |
width: 100px; | |
height: 100px; | |
opacity: 1; | |
background: #f00; | |
} | |
.animation-box:hover { | |
opacity: 0; | |
} |
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
<div class='animation-box'></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment