老师好,请检查2-7作业
来源:2-7 编程练习
慕桂英1122475
2023-03-06 15:24:03
<!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>
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;
/*此处写代码*/
transition: transform .5s linear 0s;
}
div:hover{
transform: scale(2) rotate(360deg);
}
</style>
</head>
<body>
<div>www.imooc.com</div>
</body>
</html>1回答
imooc_慕慕
2023-03-06
同学你好,代码效果正确,很棒,祝学习愉快~
相似问题