题解 | #CSS选择器——伪类选择器#
CSS选择器——伪类选择器
https://www.nowcoder.com/practice/d8a08991f6294e98b7b78597483ab2b8
{"html":"<!DOCTYPE html>\n<html>\n\n<head>\n <meta charset=\"UTF-8\">\n <style>\n /* 填写样式 */\n li:nth-child(even){\n background-color:rgb(255, 0, 0)\n }\n </style>\n</head>\n\n<body>\n <ul>\n\t<li>1</li>\n\t<li>2</li>\n\t<li>3</li>\n\t<li>4</li>\n</ul> \n <script type=\"text/javascript\">\n /* 填写JavaScript */\n \n </script>\n</body>\n\n</html>","css":"","js":""}