summaryrefslogtreecommitdiffstats
path: root/css/bootstrap/component-animations.less
diff options
context:
space:
mode:
Diffstat (limited to 'css/bootstrap/component-animations.less')
-rw-r--r--css/bootstrap/component-animations.less22
1 files changed, 22 insertions, 0 deletions
diff --git a/css/bootstrap/component-animations.less b/css/bootstrap/component-animations.less
new file mode 100644
index 0000000..d614263
--- /dev/null
+++ b/css/bootstrap/component-animations.less
@@ -0,0 +1,22 @@
+//
+// Component animations
+// --------------------------------------------------
+
+
+.fade {
+ opacity: 0;
+ .transition(opacity .15s linear);
+ &.in {
+ opacity: 1;
+ }
+}
+
+.collapse {
+ position: relative;
+ height: 0;
+ overflow: hidden;
+ .transition(height .35s ease);
+ &.in {
+ height: auto;
+ }
+}