From: Mark Otto Date: Wed, 15 Aug 2012 21:45:35 +0000 (-0700) Subject: add transition to thumbnails X-Git-Tag: v2.1.0~2^2~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ada5589184550ea87b37ae3cba9edfce57c04e99;p=thirdparty%2Fbootstrap.git add transition to thumbnails --- diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 7d706b036e..c315667517 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -5059,6 +5059,10 @@ input[type="submit"].btn.btn-mini { -webkit-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); + -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 { diff --git a/less/thumbnails.less b/less/thumbnails.less index 99b09dd86b..280266ff90 100644 --- a/less/thumbnails.less +++ b/less/thumbnails.less @@ -31,6 +31,7 @@ border: 1px solid #ddd; .border-radius(4px); .box-shadow(0 1px 3px rgba(0,0,0,.055)); + .transition(all .2s linear); } // Add a hover state for linked versions only a.thumbnail:hover {