1. <legend id='pMZw3'><style id='pMZw3'><dir id='pMZw3'><q id='pMZw3'></q></dir></style></legend>

      <i id='pMZw3'><tr id='pMZw3'><dt id='pMZw3'><q id='pMZw3'><span id='pMZw3'><b id='pMZw3'><form id='pMZw3'><ins id='pMZw3'></ins><ul id='pMZw3'></ul><sub id='pMZw3'></sub></form><legend id='pMZw3'></legend><bdo id='pMZw3'><pre id='pMZw3'><center id='pMZw3'></center></pre></bdo></b><th id='pMZw3'></th></span></q></dt></tr></i><div id='pMZw3'><tfoot id='pMZw3'></tfoot><dl id='pMZw3'><fieldset id='pMZw3'></fieldset></dl></div>

      1. <tfoot id='pMZw3'></tfoot>
          <bdo id='pMZw3'></bdo><ul id='pMZw3'></ul>

        <small id='pMZw3'></small><noframes id='pMZw3'>

        CSS3 过渡(供应商前缀)立即使 Safari 崩溃

        时间:2023-05-30

        <small id='WeXgY'></small><noframes id='WeXgY'>

        • <i id='WeXgY'><tr id='WeXgY'><dt id='WeXgY'><q id='WeXgY'><span id='WeXgY'><b id='WeXgY'><form id='WeXgY'><ins id='WeXgY'></ins><ul id='WeXgY'></ul><sub id='WeXgY'></sub></form><legend id='WeXgY'></legend><bdo id='WeXgY'><pre id='WeXgY'><center id='WeXgY'></center></pre></bdo></b><th id='WeXgY'></th></span></q></dt></tr></i><div id='WeXgY'><tfoot id='WeXgY'></tfoot><dl id='WeXgY'><fieldset id='WeXgY'></fieldset></dl></div>
        • <tfoot id='WeXgY'></tfoot>
        • <legend id='WeXgY'><style id='WeXgY'><dir id='WeXgY'><q id='WeXgY'></q></dir></style></legend>
                <tbody id='WeXgY'></tbody>
                <bdo id='WeXgY'></bdo><ul id='WeXgY'></ul>

                1. 本文介绍了CSS3 过渡(供应商前缀)立即使 Safari 崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  这是我正在进行的项目(代码完全复制,除了名称更改等)

                  Here is the project I'm working on (code copied exactly except for names changed, etc.)

                  https://c9.io/schwigri/strange-crash/workspace/index.html

                  div #logo 的样式如下:

                  The div #logo has the style:

                  #logo {
                      -webkit-transition: .4s;
                      -moz-transition: .4s;
                      -o-transition: .4s;
                      transition: .4s;
                  }
                  

                  这会导致 OS X 10.8.5 上的 Safari 6.0.5 立即崩溃.如果我删除这些转换,它不会崩溃.

                  This causes an immediate crash in Safari 6.0.5 on OS X 10.8.5. If I remove these transitions it doesn't crash.

                  我该如何解决这个问题?

                  How can I resolve this issue?

                  推荐答案

                  Safari 有时会在 all-属性转换方面遇到一些问题.

                  Safari has some trouble sometimes with all-property transitions.

                  试试这个:

                  #logo {
                      -webkit-transition: color .4s;
                      -moz-transition: .4s;
                      -o-transition: .4s;
                      transition: .4s;
                  }
                  

                  玩了一会儿,其实是你使用 -webkit-transition: all-webkit-calc() 导致问题.这是 Safari 中的一个错误,为了克服它,您可能需要使用 javascript 来计算您的上边距而不是 CSS.

                  After playing around with it some more, it's actually the combination of your usage of -webkit-transition: all and -webkit-calc() that's causing the problem. This is a bug in Safari, and in order to overcome it, you may need to use javascript to calculate your top margin instead of CSS.

                  希望这会有所帮助!

                  这篇关于CSS3 过渡(供应商前缀)立即使 Safari 崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:@font-face 让 IE8 崩溃 下一篇:为什么我的网站在 IE 中崩溃?

                  相关文章

                  最新文章

                2. <i id='lOBo6'><tr id='lOBo6'><dt id='lOBo6'><q id='lOBo6'><span id='lOBo6'><b id='lOBo6'><form id='lOBo6'><ins id='lOBo6'></ins><ul id='lOBo6'></ul><sub id='lOBo6'></sub></form><legend id='lOBo6'></legend><bdo id='lOBo6'><pre id='lOBo6'><center id='lOBo6'></center></pre></bdo></b><th id='lOBo6'></th></span></q></dt></tr></i><div id='lOBo6'><tfoot id='lOBo6'></tfoot><dl id='lOBo6'><fieldset id='lOBo6'></fieldset></dl></div>
                  <legend id='lOBo6'><style id='lOBo6'><dir id='lOBo6'><q id='lOBo6'></q></dir></style></legend>
                    <bdo id='lOBo6'></bdo><ul id='lOBo6'></ul>
                  <tfoot id='lOBo6'></tfoot>

                    <small id='lOBo6'></small><noframes id='lOBo6'>