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

    • <bdo id='nRpdz'></bdo><ul id='nRpdz'></ul>

    1. <small id='nRpdz'></small><noframes id='nRpdz'>

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

        CSS3 :hover 和 :focus 的区别?

        时间:2023-11-30
        <i id='1Ll4m'><tr id='1Ll4m'><dt id='1Ll4m'><q id='1Ll4m'><span id='1Ll4m'><b id='1Ll4m'><form id='1Ll4m'><ins id='1Ll4m'></ins><ul id='1Ll4m'></ul><sub id='1Ll4m'></sub></form><legend id='1Ll4m'></legend><bdo id='1Ll4m'><pre id='1Ll4m'><center id='1Ll4m'></center></pre></bdo></b><th id='1Ll4m'></th></span></q></dt></tr></i><div id='1Ll4m'><tfoot id='1Ll4m'></tfoot><dl id='1Ll4m'><fieldset id='1Ll4m'></fieldset></dl></div>
          <tbody id='1Ll4m'></tbody>
          <legend id='1Ll4m'><style id='1Ll4m'><dir id='1Ll4m'><q id='1Ll4m'></q></dir></style></legend>

                <bdo id='1Ll4m'></bdo><ul id='1Ll4m'></ul>

                <small id='1Ll4m'></small><noframes id='1Ll4m'>

                <tfoot id='1Ll4m'></tfoot>

                • 本文介绍了CSS3 :hover 和 :focus 的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  CSS3 文档 谈到 :hover 和 :focus ,这对我来说似乎完全一样.两者有什么区别?我没看到什么?

                  The CSS3 doc talks about :hover and :focus, which seem exactly the same to me. What are the differences between the two? What am I not seeing?

                  谢谢!

                  推荐答案

                  当鼠标指针悬停在元素上时,悬停为真".如果光标在该元素中,则焦点为真.悬停可能为假而焦点为真(例如单击文本字段然后将鼠标移开)

                  Hover is 'true' when the mouse pointer is over an element. Focus is true if the cursor is in that element. It's possible for hover to be false and focus true (e.g click in a text field then move the mouse away)

                  这篇关于CSS3 :hover 和 :focus 的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:div 悬停背景颜色变化? 下一篇:如何在悬停时将 CSS 类应用于动态生成的提交按钮?

                  相关文章

                      <legend id='tjW6d'><style id='tjW6d'><dir id='tjW6d'><q id='tjW6d'></q></dir></style></legend>

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

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