2-7作业检查
来源:2-7 编程练习
从不学习
2021-08-23 18:32:36
相关代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>3-1作业</title>
<style>
div{
font-size: 14px;
font-weight: bold;
line-height: 50px;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 200px;
height: 50px;
margin: auto;
cursor: pointer;
text-align: center;
background: #abcdef;
/*此处写代码*/
transform: scale(1) rotate(0deg);
transition:transform 1s linear 0s
}
/*此处写代码*/
div:hover{
transform: scale(2) rotate(360deg);
}
</style>
</head>
<body>
<div>www.imooc.com</div>
</body>
</html>
问题描述:
是这样吗
1回答
同学你好,代码实现是对的,继续加油,祝学习愉快~
相似问题