开发者

:hover, :focus, :deactivated?

Doe开发者_开发百科s there like :hover and :focus exist a simular thing for deactivated inputs?


input[disabled="disabled"] Will work (this is an attribute selector).

You can read more about attribute selectors at http://css-tricks.com/attribute-selectors/


Well, you could always give your deactivated elements a special CSS class, e.g. deactivated and then assign properties to this class (e.g. .deactivated:hover etc.).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜