请老师检查谢谢
来源:2-14 编程练习
一只少年
2021-10-22 16:49:42
#myTest{
width: 100px;
height: 100px;
text-align: center;
line-height: 100px;
background-color: #f43838;
margin: auto;
margin-top: 100px;
color: #FFF;
cursor: pointer;
font-size: 20px;
font-weight: bold;
/*添加代码*/
transition:all 0.5s ease 0s;
}
#myTest:hover{
/*添加代码*/
transform:scale(2);
background-color:green;
border-radius:50%;
}
1回答
好帮手慕久久
2021-10-22
同学你好,代码正确,很棒!
祝学习愉快!