老师,麻烦检查一下

来源:2-17 编程练习

山有木兮木有枝z

2020-06-07 20:50:44

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

写回答

1回答

好帮手慕星星

2020-06-08

同学你好,已经在另一个问题中进行了回复:

https://class.imooc.com/course/qadetail/230342

可以查看下。

建议:目前正在做问答和笔记功能优化,如果在提问或者记笔记的时候,提示"内容正在加急审核中,请耐心等待"时,请不要重复提交,等待审核通过即可。 

祝学习愉快~

0

0 学习 · 40143 问题

查看课程