Css realizes the effect of unfolding in the middle of the selected bar.

clipboard.png
as shown in the figure, there will be a red bar when selected. If you let the red bar expand from the middle to both sides when selected?

Jun.21,2022

has been solved, key code:

 transform-origin: center center;
  transform: scale3d(0, 1, 0);
  transition: all .5s;

then when the current bar:

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