请老师帮忙检查作业
来源:3-30 编程练习
听的说
2021-08-01 13:52:42
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>动态伪类</title>
<style type="text/css">
/*此处写代码*/
input:hover{
border:1px solid red;
}
input:focus{
background-color:orange;
}
[type="password"]:focus{
background-color:yellow;
}
</style>
</head>
<body>
<!-- 此处写代码 -->
<p>用户名:<input type="text"></p>
<p>密码:<input type="password"></p>
</body>
</html>
1回答
同学你好,代码实现很正确,继续加油,祝学习愉快!
相似问题