题解 | #CSS选择器——伪类选择器#
CSS选择器——伪类选择器
https://www.nowcoder.com/practice/d8a08991f6294e98b7b78597483ab2b8
{"css":"","js":"","html":"<html>\n <head>\n <meta charset=utf-8>\n <style type=\"text/css\">\n /*补全代码*/\n ul li:nth-child(even){\n background-color:rgb(255,0,0)\n }\n </style>\n </head>\n <body>\n <ul>\n <li>1</li>\n <li>2</li>\n <li>3</li>\n <li>4</li>\n </ul>\n </body>\n</html>","libs":[]}