Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Actionscript 2 中有滚动 HTML 文本。如何使每行来回交替颜色(以达到预期的可读性)?如果可能的话,我不想为所有 600 行编码颜色或使用批量替换功能!
看看斑马条纹。您不需要为此使用 Javascript。在:nth-child(odd)CSS 中应该足够了。
:nth-child(odd)