Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Der Titel des Dokuments</title> <style> li:nth-child(odd) { background: #1c87c9; cursor: progress; width: 50%; padding: 5px; } li:nth-child(even) { background: #ccc; cursor: pointer; width: 50%; padding: 5px; } </style> </head> <body> <p>Bewegen Sie die Maus über die Listenelemente, um zu sehen, wie sich der Cursor ändert:</p> <ul> <li>Listenelement 1</li> <li>Listenelement 2</li> <li>Listenelement 3</li> <li>Listenelement 4</li> <li>Listenelement 5</li> <li>Listenelement 6</li> <li>Listenelement 7</li> </ul> </body> </html>