matrix not equal to translate and rotate combination in css transform animation?
问题 @keyframes gray { 0% { transform: matrix(1, 0, 0, 1, 0, 0) } 100% { transform: matrix(-1, 0, 0, -1, 20, 20) } } @keyframes lightblue { 0% { transform: translate(10px, 10px) rotate(0deg) translate(-10px, -10px); } 100% { transform: translate(10px, 10px) rotate(180deg) translate(-10px, -10px); } } .gray { float: left; margin-left: 50px; width: 20px; height: 20px; background: gray; transform-origin: 0px 0px; animation: gray linear 1s infinite; } .lightblue { float: left; margin-left: 50px; width