2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

make component animations work cross browsers with opacity mixin, restore float on thumbnails > li

This commit is contained in:
Mark Otto
2012-04-24 06:39:14 -07:00
parent e659dc7e1b
commit f9744ff522
3 changed files with 12 additions and 8 deletions
+4 -4
View File
@@ -2,17 +2,17 @@
// --------------------
.fade {
opacity: 0;
.opacity(0);
.transition(opacity .15s linear);
&.in {
opacity: 1;
.opacity(100);
}
}
.collapse {
position:relative;
position: relative;
height: 0;
overflow:hidden;
overflow: hidden;
.transition(height .35s ease);
&.in {
height: auto;
+1
View File
@@ -14,6 +14,7 @@
// Float li to make thumbnails appear in a row
.thumbnails > li {
float: left; // Explicity set the float since we don't require .span* classes
margin-bottom: @baseLineHeight;
}