This article describes the JS implementation of the simulation Baidu search "2012 Doomsday" Web page seismic tearing effect code. Share to everyone for your reference, specific as follows:
This is a JS simulation Baidu search "2012 Doomsday" page earthquake tearing effect, the effect is to imitate the user in Baidu input "2012 Doomsday" after clicking on the page after the search results, the Web page in the shaking, like an earthquake, and then began to tear, and then show the relevant text description, very cool effect, I hope that we can learn from the reference.
The screenshot of the running effect is as follows:
The online demo address is as follows:
http://demo.jb51.net/js/2015/js-mn-2012-shake-style-demo/
The specific code is as follows:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
I hope this article will help you with your JavaScript programming.