首页 > Web开发 > 详细

分享大家一个背景为下雪的JQuery

时间:2016-06-08 10:32:06      阅读:319      评论:0      收藏:0      [点我收藏+]
<html><head>
<meta charset="utf-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<script type="text/javascript" src="../jquery-2.1.4.min.js"></script>
<title>下雪了</title>
<style type="text/css">
html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
margin: 0;
padding: 0;
}
div p{line-height: 800px;text-align: center;font-size:100px;font-weight: 900;color:red}
</style>

<script type="text/javascript" src="ss.js"></script>
</head>

<body>
<div style="background-color:#0c91b8; height:1024px;">
<p>下雪了</p>
</div>
<script type="text/javascript" src="q.js"></script><canvas style="position: fixed; top: 0px; left: 0px; z-index: 5000; pointer-events: none; " id="canvas_snow" width="1440" height="330"></canvas>


</body></html>

效果展示

技术分享

分享大家一个背景为下雪的JQuery

原文:http://www.cnblogs.com/turbo12138/p/5569014.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!