[Chrome] An ugly box appears when mouse hovers over a round bordered div

As the picture shows, a small square showed on every rounded div element after hover or click event in Chrome but not in Safari. To solve this strange problem, I did some search and found the solution - add the following lines to the related css code:

-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;

评论

此博客中的热门博文

Configure shadowsocks transparent proxy + gfwlist(PAC) on OpenWRT Router

Openwrt路由器上配置shadowsocks透明代理+gfwlist(PAC)

Configure V2Ray(Shadowsocks mode) + 加速:普通BBR/魔改BBR on KVM VPS (Tested on Ubuntu 16.04)