请老师检查3-30作业
来源:3-30 编程练习
qq_慕仰20210716
2021-07-24 09:02:36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
input:hover{
border: 1px solid red;
}
p.p1>input:focus{
background-color: orange;
}
p.p2>input:focus{
background-color: yellow;
}
</style>
</head>
<body>
<form action="">
<p class="p1">用户名:<input type="text"></p>
<p class="p2">密码:<input type="password"></p>
</form>
</body>
</html>
1回答
同学你好,代码实现效果很棒。继续加油,祝学习愉快!
相似问题