开发者

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

开发者 https://www.devze.com 2023-03-04 20:30 出处:网络
This question already has answers here: Closed 11 years ago. Possible Dup开发者_运维知识库licate:
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

精彩评论

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