• <bdo id='HLhUU'></bdo><ul id='HLhUU'></ul>
    1. <legend id='HLhUU'><style id='HLhUU'><dir id='HLhUU'><q id='HLhUU'></q></dir></style></legend>

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

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

      1. <tfoot id='HLhUU'></tfoot>

        图像边界半径在 css 过渡期间不起作用

        Images border-radius doesn#39;t work during css transition(图像边界半径在 css 过渡期间不起作用)
        <legend id='SpppG'><style id='SpppG'><dir id='SpppG'><q id='SpppG'></q></dir></style></legend>

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

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

                    <tbody id='SpppG'></tbody>
                  <tfoot id='SpppG'></tfoot>
                • 本文介绍了图像边界半径在 css 过渡期间不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用 border-radius: 50%; 来制作圆形图像.默认情况下,图像是模糊和缩放的(带有隐藏的溢出),悬停时它将消除模糊和缩放.但是,当我在元素上使用 CSS 过渡时,它会在过渡期间暂时显示溢出.

                  I'm using border-radius: 50%; to make an image round. By default the image is blurred and zoomed (with a hidden overflow) and on hover it will remove the blur and zoom. However, when I use a CSS transition on the element, it temporarily shows the overflow for the duration of the transition.

                  http://jsfiddle.net/jonny_me/cyvL61qx

                  推荐答案

                  我相信在过渡时,元素会从文档流中取出,类似于阴影 position: relative; 并放回动画完成后.

                  I believe on transition, the element gets taken out of document flow, something like a shadow position: relative; and put back in once the animation is complete.

                  如果强制父级的z-index高于子级,父级应继续裁剪溢出.

                  If you force the z-index of the parent to be higher than that of the child, the parent should continue to clip the overflow.

                  http://jsfiddle.net/cyvL61qx/4/

                  figure.effect-park {
                      background-color: #0D4C16;
                      border-radius: 50%;
                      z-index: 1;
                  }
                  
                  figure.effect-park img {
                      z-index: 0;
                      opacity: 0.5;
                      -webkit-filter: blur(1.5px);
                      filter: blur(1.5px);
                      -webkit-transform: scale(1.15);
                      transform: scale(1.15);
                      -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
                      transition: opacity 0.2s, transform 0.2s;
                  }
                  

                  这篇关于图像边界半径在 css 过渡期间不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Move link image 5px up on hover(悬停时将链接图像向上移动 5px)
                  How do I inspect CSS pseudo classes with firebug?(如何使用 firebug 检查 CSS 伪类?)
                  Why doesn#39;t CSS hover work on table rows when the cells inside the rows have class names?(当行内的单元格具有类名时,为什么 CSS 悬停在表格行上不起作用?)
                  Hover image - display div over it(悬停图像 - 在其上显示 div)
                  How to apply a CSS class on hover to dynamically generated submit buttons?(如何在悬停时将 CSS 类应用于动态生成的提交按钮?)
                  Differences between CSS3 :hover and :focus?(CSS3 :hover 和 :focus 的区别?)
                    <i id='L32fn'><tr id='L32fn'><dt id='L32fn'><q id='L32fn'><span id='L32fn'><b id='L32fn'><form id='L32fn'><ins id='L32fn'></ins><ul id='L32fn'></ul><sub id='L32fn'></sub></form><legend id='L32fn'></legend><bdo id='L32fn'><pre id='L32fn'><center id='L32fn'></center></pre></bdo></b><th id='L32fn'></th></span></q></dt></tr></i><div id='L32fn'><tfoot id='L32fn'></tfoot><dl id='L32fn'><fieldset id='L32fn'></fieldset></dl></div>
                  1. <tfoot id='L32fn'></tfoot>
                      <tbody id='L32fn'></tbody>
                    <legend id='L32fn'><style id='L32fn'><dir id='L32fn'><q id='L32fn'></q></dir></style></legend>

                      <bdo id='L32fn'></bdo><ul id='L32fn'></ul>

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