There are many ways to achieve interlaced color change. In the past, I wrote the judgment code directly in the program. Today we will use jQuery to implement it. Here is the code~
jQuery code:
First Line | First Line |
The third line | The third line |
Line 4 | Line 4 |
Line 5 | Line 5 |
Line 6 | Line 6 |