I am currently attempting to apply multiple animations on a single element simultaneously. While I have successfully managed to use the translate
property to adjust the element's coordinates, I am encountering difficulties in expanding its height and width. It appears that with my current syntax, the animation for height and width is not functioning as expected. Is there an issue with my code structure?
width: 230px;
height: 476px;
-webkit-transform: translate(492px, 0px);
transition: width 2s, height 2s, 0.5s;
-webkit-transition: width 2s, height 2s, 0.5s;
My objective is to smoothly transition the position of the element to the correct location within 0.5 seconds, while also ensuring that it expands to its full height over a span of 2 seconds. Any recommendations or suggestions?