Vue does not use show if to control cube translation

can vue only use show and if to control animation?
how do I use a button to control an existing square to slide to the right? And the button can be reused

Jul.06,2022

http://jsrun.net/uWXKp/edit

above is demo, : style and transition: all 1s; Bar


Why use vue to control animation? just leave the animation to css. Bind the triggered event to the button, and use vue to add and remove classes to control the effect of sliding.

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-1eb48c7-24db.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-1eb48c7-24db.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?