There is a problem when using css3 animation when viewBox and physical dimensions are not consistent.

viewBox , width , height are defined in the viewBox tag. When the ratio of viewBox to physical size is 1: 1, everything is fine.
when the ratio is not 1:1 , scale using css3 appears as shown in the figure

clipboard.png

clipboard.png

clipboard.png

clipboard.png
how to set up the trigger animation without the deviation of position and size?


found problems on viewBox and transform . The solution to the
solution is to avoid using transform and replace the representation in other ways, such as margin+width+height for scale .

@keyframes rubberband {
  from { margin:0; width:100%; height:100%; }
  30% { margin:12.5% 0 0 -12.5%; width:125%; height:75%; }
  40% { margin:-12.5% 0 0 12.5%; width:75%; height: 125%; }
  50% { margin:7.5% 0 0 -7.5%; width:115%; height:85%; }
  65% { margin:-2.5% 0 0 2.5%; width:95%; height:105%; }
  75% { margin:2.5% 0 0 -2.5%; width:105%; height:95%; }
  to { margin:0; width:100%; height:100%; }
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beabd7-31a3e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beabd7-31a3e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?