如何在我的网页上获得相同的效果? [关闭]

So I've seen a mouse-hover effect on 2 websites so far and I really like it. image1

image2

This is the effect I'm talking about. I'd be grateful if somebody can tell me how to get that effect on my webpage. It only appears under your cursor when you hover over the page.

The site you have linked in the comments uses the HTML canvas element. But You can simply use already existing libraries for that effect.

Examples mentioned in the comments:

  • Simply, Go to the webpage you wanted to Copy it's effects or anything from it
  • Right click, View page source If the effect is made by Css, you will find it in stylesheets tab If it's using jQuery/Js, Search the head for <script> , Read them and copy the effect (assuming that you understand js/jquery For more simplicity, use Firebug, open it and just point the cursor at the item you want to see it's source. But, actually You can find it at github Here Change what you want.