博文

目前显示的是标签为“CSS”的博文

[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;

How to npm install jquery-ui and import it as a ESM?

We can use jquery-ui-bundle: npm install jquery-ui-bundle --save Then import: import 'jquery-ui-bundle'; import 'jquery-ui-bundle/jquery-ui.css';

Special effects for html using JS and CSS

This page may not work because the restriction of the Blog theme. Please use your browser to inspect the code. Thank you! Magic Letterfall Mad Rotating Letters Mad Scaling Letters