DIV+CSS:focus - DIV+CSS_DIVCSS5类清单 | 相关内容:focus
:focus版本:CSS2  兼容性:NONE

 
语法:
 
Selector : focus { sRules }
 
说明:
 
设置对象在成为输入焦点(该对象的onfocus事件发生)时的样式表属性
目前IE5.5尚不支持此属性。
 
示例:
 
a:focus { font-size: 14pt; text-decoration: underline; color: blue; }
a:focus img { border: thin solid green }
 


学习DIV+CSS div css CSS 就上divcss5 在线CSS教程CSS手册CSS3手册