题解 | CSS选择器——标签、类、ID选择器

CSS选择器——标签、类、ID选择器

https://www.nowcoder.com/practice/f76f7b7cbc8a47188481b425380b0785

{"html":"<html>\n    <head>\n        <meta charset=utf-8>\n        <style type=\"text/css\">\n            /*补全代码*/\n        div{\n            color:rgb(255, 0, 0);\n            font-size:20px;\n        }\n        .green{\n            color:rgb(0,128,0);\n        }\n        #black{\n            color:rgb(0,0,0);\n        }\n        </style>\n    </head>\n    <body>\n        <div>红色</div>\n        <div class='green'>绿色</div>\n        <div id='black'>黑色</div>\n    </body>\n</html>","css":"/* html, body {\\n\\twidth: 100%;\\n\\theight: 100%;\\n\\tmargin: 0;\\n\\tpadding: 0;\\n} */","js":"// 请在这里输入代码"}

全部评论

相关推荐

03-07 13:32
门头沟学院 C++
未来可欺a:读研吧,这简历只适合学历高的,本科大概率只能干开发,你这个简历开发不匹配,算法和深度学习的话学历又不够
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务