0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

add transition to thumbnails

This commit is contained in:
Mark Otto 2012-08-15 14:45:35 -07:00
parent e1659b2c4e
commit ada5589184
2 changed files with 5 additions and 0 deletions

View File

@ -5059,6 +5059,10 @@ input[type="submit"].btn.btn-mini {
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear;
} }
a.thumbnail:hover { a.thumbnail:hover {

View File

@ -31,6 +31,7 @@
border: 1px solid #ddd; border: 1px solid #ddd;
.border-radius(4px); .border-radius(4px);
.box-shadow(0 1px 3px rgba(0,0,0,.055)); .box-shadow(0 1px 3px rgba(0,0,0,.055));
.transition(all .2s linear);
} }
// Add a hover state for linked versions only // Add a hover state for linked versions only
a.thumbnail:hover { a.thumbnail:hover {