From 494ee831e66d59afbf02d42ba59b7ba21f61c011 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Fri, 5 Oct 2012 21:34:54 -0700 Subject: added less, moved bootstrap to less components --- css/bootstrap/component-animations.less | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 css/bootstrap/component-animations.less (limited to 'css/bootstrap/component-animations.less') 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; + } +} -- cgit v1.2.3-18-g5258