laoshi 看看
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <!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; /*此处写代码*/ -webkit-transform:rotate(0deg) scale(1,1); -webkit-transition:transform 1s ease-in-out 0.01s; } /*此处写代码*/ div:hover { cursor:pointer; -webkit-transform:rotate(360deg) scale(2,2); -webkit-transition:transform 1s ease-in-out 0.01s; } </ style > </ head > < body > < div >www.imooc.com</ div > </ body > </ html > |
0
收起
正在回答
1回答
同学你好,效果实现的没有问题,继续加油,祝学习愉快~
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧