diff options
Diffstat (limited to 'scss/_animation.scss')
-rw-r--r-- | scss/_animation.scss | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/scss/_animation.scss b/scss/_animation.scss new file mode 100644 index 0000000000..85156135d1 --- /dev/null +++ b/scss/_animation.scss @@ -0,0 +1,34 @@ +// +// Component animations +// -------------------------------------------------- + +.fade { + opacity: 0; + transition: opacity .15s linear; + + &.in { + opacity: 1; + } +} + +.collapse { + display: none; + visibility: hidden; + + &.in { + display: block; + visibility: visible; + } + // tr&.in { display: table-row; } + // tbody&.in { display: table-row-group; } +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + transition: height .35s ease; + transition-property: height, visibility; + transition-duration: .35s; + transition-timing-function: ease; +} |