diff options
Diffstat (limited to 'less/component-animations.less')
| -rw-r--r-- | less/component-animations.less | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/less/component-animations.less b/less/component-animations.less new file mode 100644 index 000000000..4f2a4fd11 --- /dev/null +++ b/less/component-animations.less @@ -0,0 +1,18 @@ +// COMPONENT ANIMATIONS +// -------------------- + +.fade { + .transition(opacity .15s linear); + opacity: 0; + &.in { + opacity: 1; + } +} + +.collapse { + .transition(height .35s ease); + position:relative; + overflow:hidden; + height: 0; + &.in { height: auto; } +} |
