Home  >  Article  >  Web Front-end  >  css expression interlaced color change_Experience exchange

css expression interlaced color change_Experience exchange

WBOY
WBOYOriginal
2016-05-16 12:05:031467browse

It is implemented with css, using expression but it is recommended to use it in practice. It takes up resources and is not supported by Firefox browser


[Ctrl A Select all Note:If you need to introduce external Js, you need to refresh it before it can be executed]

When there are only two colors, you can change it like this



[Ctrl A 全选 注:如需引入外部Js需刷新才能执行]

如果真想用,可以用下面的js写的

[Ctrl A 全选 注:如需引入外部Js需刷新才能执行]
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn