Created
February 17, 2016 09:19
-
-
Save gogachinchaladze/92fbf49ed33ed2669b01 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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 characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// Sass (v3.4.4) | |
$container-width: 100%; | |
$column-count: 4; | |
$margin: 1%; | |
$first-div-animation-time:2s; | |
$second-div-animation-time:1s; | |
.container { | |
width: $container-width; | |
} | |
.column { | |
background: #1abc9c; | |
height: 200px; | |
display: block; | |
float: left; | |
width: ($container-width / $column-count) - ($margin * 2); | |
margin: 0 $margin; | |
} | |
.column.column-1{ | |
transition: opacity $first-div-animation-time ease 0s; | |
} | |
.column.column-2{ | |
transition: opacity $second-div-animation-time ease $first-div-animation-time; | |
} |
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 characters
.container { | |
width: 100%; | |
} | |
.column { | |
background: #1abc9c; | |
height: 200px; | |
display: block; | |
float: left; | |
width: 23%; | |
margin: 0 1%; | |
} | |
.column.column-1 { | |
transition: opacity 2s ease 0s; | |
} | |
.column.column-2 { | |
transition: opacity 1s ease 2s; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment