focus基本语法:

Selector: focus {sRules }

 

:focus详细说明:

设置对象在成为输入焦点(该对象的onfocus事件发生)时的样式表属性。

目前IE5.5尚不支持此属性。

:focus应用示例:

a:focus { font-size: 14pt; text-decoration: underline; color: blue; }

a:focus img { border: thin solid green }

 

 

相关文章:

  • 2021-11-11
  • 2022-12-23
  • 2021-07-18
  • 2021-05-15
  • 2021-08-25
  • 2021-08-26
猜你喜欢
  • 2021-10-29
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
  • 2021-11-20
  • 2022-02-17
相关资源
相似解决方案