3-30作业审批

来源:3-30 编程练习

web前端高级开发工程师

2021-08-04 14:30:44

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>动态伪类</title>
        <style type="text/css">
            input:hover{border: 1px solid rgb(248, 3, 3);}
            .box1 input:focus{background-color: orange;}
            .box2 input:focus{background-color: yellow;}
        </style>
    </head>
    <body>
        <p class="box1">
            用户名:<input type="text" value="">
        </p>

        <p class="box2">
            密码:<input type="password" value="">
        </p>

    </body>
</html>

相关截图:

http://img.mukewang.com/climg/610a341209ae253205090750.jpg

写回答

1回答

好帮手慕久久

2021-08-04

同学你好,代码正确,很棒,祝学习愉快!

0

0 学习 · 17877 问题

查看课程

相似问题