请老师检查

来源:2-17 编程练习

三年没洗澡

2019-03-09 00:42:53

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>动态伪类</title>
        <style type="text/css">
            /*此处写代码*/
            input:hover{
                border-color:red;
            }
            input[type="text"]:focus{
                background:orange;
            }
            input[type="password"]:focus{
                background:yellow;
            }
        </style>
    </head>
    <body>
        <!-- 此处写代码 -->
        用户名:<input type="text">
        </br>
        密码:<input type="password">
    </body>
</html>
写回答

1回答

慕前端5517794

2019-03-09

效果完美实现了

0

0 学习 · 5012 问题

查看课程

相似问题