diff options
| author | Mark Otto <[email protected]> | 2012-08-14 15:12:22 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-08-14 15:12:22 -0700 |
| commit | b14d946afbe1844ef026a120ee82bf1f2c3ef348 (patch) | |
| tree | 629e923fe0cf201e01f5ef8b6a4c3205b32deca1 | |
| parent | a80dafbb18bc689abcfe45cd4aec570e7790b171 (diff) | |
| download | bootstrap-b14d946afbe1844ef026a120ee82bf1f2c3ef348.tar.xz bootstrap-b14d946afbe1844ef026a120ee82bf1f2c3ef348.zip | |
add animation to docs download btn for firefox
| -rw-r--r-- | docs/assets/css/docs.css | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 684e9529b..e58093e1a 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -133,9 +133,14 @@ hr.soften { /* Download button */ @-webkit-keyframes downloadButton { - from { -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } - 50% { -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); } - to { -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } + from { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } + 50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); } + to { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } +} +@-moz-keyframes downloadButton { + from { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } + 50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); } + to { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } } .masthead .btn { padding: 14px 24px; @@ -150,8 +155,11 @@ hr.soften { -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.01); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.01); -webkit-animation-name: downloadButton; + -moz-animation-name: downloadButton; -webkit-animation-duration: 1.5s; + -moz-animation-duration: 1.5s; -webkit-animation-iteration-count: infinite; + -moz-animation-iteration-count: infinite; -webkit-transition: none; -moz-transition: none; transition: none; |
