transition失效原因:父盒子没有初始值 1.CSS3过渡:经常和:hover搭配使用 ①单边transition: width 1s ease 0s; ②多边transition: width 1s ease 0s, height 1s ease 0s; ③所有transition: all 1s ease 0s;