📅  最后修改于: 2022-03-11 14:47:28.984000             🧑  作者: Mango
#element {
transform: translateX(0px);
background: #ffffff;
transition: 0.5s;
}
#element:hover {
transform: translateX(50px);
background: #000000;
transition: 0.5s;
}