WeChat Mini Programs's hover-class style doesn't work.

setting hover-class for navigator and button does not work, but setting for view does. My navigator and button both have background colors. Does that have anything to do with this?


<button style="background:red;" hover-class="green">123</button>
.green {
  background: green !important;
}

you can check the style in the development tool, can you see it?


is there hover on mobile phones?


hover-class is clicked. I can do it here. Do you have a specific class name?

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