javascript - Why can't margin:auto auto be aligned up, down, left, and right?
There is only one div in an html. {Code...} css1 can center div.test left and right. css2: {code...}
过去多啦不再A梦 2017-06-24 09:42:38 0 4 908
前端 - transform后参数不同,rotate无法正常触发transition的问题。
{代码...} 简化了一下样式还是要问呀。1.初始样式为rotate(0) translateX(5px);过渡至css1,只能触发translateX(5px)的过渡效果。2.过渡至css2,可以看到平移5px和旋转360度的效果。如果说rotate的过渡表现是(初始-...
天蓬老师 2017-04-17 11:55:50 0 4 546