开发者

Can I define a rollover CSS style in-line? [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Dup开发者_运维知识库licate:

How to write a:hover in inline CSS?

Is it possible to do this:

<a href="#">link</a>

a{ color: red; }
a:hover{ color: blue; }

As inline?

<a href="#" style="color: red; ....;">link</a>


No. style="" allows to define only list of style properties. No CSS selectors are allowed there.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜