请老师检查

来源:2-4 编程练习

慕UI4313976

2021-03-07 09:59:50

<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>过渡</title>
<style>
/*补充代码*/
div{
width: 200px;
height: 200px;
background-color: pink;
box-shadow: none;
transition:background-color 1s linear 0s,box-shadow 1s linear 0s;
}
div:hover{
background-color: orange;
box-shadow: 5px 5px 10px 0 gray;
}
</style>
</head>

<body>
<div></div>
</body>

</html>


写回答

1回答

好帮手慕慕子

2021-03-07

同学你好,代码实现是正确的,继续加油,祝学习愉快~

0

0 学习 · 15276 问题

查看课程