请老师过目

来源:2-17 编程练习

qq_鸭绿桥第一帅哥_0

2019-03-15 10:19:50

<!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回答

好帮手慕星星

2019-03-15

你好,代码实现效果是正确的。

继续加油!

0

0 学习 · 5012 问题

查看课程

相似问题