当前位置: 首页 > news >正文

企业网站的设计网站改版设计要多久

企业网站的设计,网站改版设计要多久,wordpress 自动升级,qq电脑版登录入口#x1f345; 作者主页#xff1a;Java李杨勇 #x1f345; 简介#xff1a;Java领域优质创作者#x1f3c6;、Java李杨勇公号作者✌ 简历模板、学习资料、面试题库、技术互助【关注我#xff0c;都给你】 #x1f345; 欢迎点赞 #x1f44d; 收藏 ⭐留言 #x1f… 作者主页Java李杨勇  简介Java领域优质创作者、Java李杨勇公号作者✌  简历模板、学习资料、面试题库、技术互助【关注我都给你】 欢迎点赞 收藏 ⭐留言    效果演示 文末获取源码  代码目录 主要代码实现 CSS样式 body {background: #222;color: white;overflow: hidden;}#container {box-shadow: inset 0 1px 0 #444, 0 -1px 0 #000;height: 100vh;width: 100vw;position: absolute;left: 0;top: 0;margin: 0;will-change: transform;-webkit-transform: translateZ(0);transform: translateZ(0);}canvas#waterfall {display: block;margin: 0 auto;width: 30%;height: 55%;will-change: transform;-webkit-transform: translateZ(0);transform: translateZ(0);}.emma {height: 100vh;width: 100%;position: absolute;left: 0;top: 0;margin: 0;}h1 {color: #0af;font-size: 30vw;}canvas#surface {-webkit-animation: fade-in 3000ms forwards;animation: fade-in 3000ms forwards;display: block;left: 0;position: absolute;top: 0;z-index: -1;}-webkit-keyframes fade-in {0% {opacity: 0;}100% {opacity: 1;}}keyframes fade-in {0% {opacity: 0;}100% {opacity: 1;}} JS代码 : !~-(function(PIXI, window, document, undefined) {var waterfallCanvas function(c, cw, ch) {var _this this;this.c c;this.ctx c.getContext(2d);this.cw cw;this.ch ch;this.particles [];this.particleRate 6;this.gravity 0.15;this.init function() {this.loop();};this.reset function() {this.ctx.clearRect(0, 0, this.cw, this.ch);this.particles [];};this.rand function(rMi, rMa) {return ~~((Math.random() * (rMa - rMi 1)) rMi);};this.Particle function() {var newWidth _this.rand(1, 20);var newHeight _this.rand(1, 45);this.x _this.rand(10 (newWidth / 2), _this.cw - 10 - (newWidth / 2));this.y -newHeight;this.vx 0;this.vy 0;this.width newWidth;this.height newHeight;this.hue _this.rand(200, 220);this.saturation _this.rand(30, 60);this.lightness _this.rand(30, 60);};this.Particle.prototype.update function(i) {this.vx this.vx;this.vy _this.gravity;this.x this.vx;this.y this.vy;};this.Particle.prototype.render function() {_this.ctx.strokeStyle hsla( this.hue , this.saturation %, this.lightness %, .05);_this.ctx.beginPath();_this.ctx.moveTo(this.x, this.y);_this.ctx.lineTo(this.x, this.y this.height);_this.ctx.lineWidth this.width / 2;_this.ctx.lineCap round;_this.ctx.stroke();};this.Particle.prototype.renderBubble function() {_this.ctx.fillStyle hsla( this.hue , 40%, 40%, 1);_this.ctx.fillStyle hsla( this.hue , this.saturation %, this.lightness %, .3);_this.ctx.beginPath();_this.ctx.arc(this.x this.width / 2, _this.ch - 20 - _this.rand(0, 10), _this.rand(1, 8), 0, Math.PI * 2, false);_this.ctx.fill();};this.createParticles function() {var i this.particleRate;while (i--) {this.particles.push(new this.Particle());}};this.removeParticles function() {var i this.particleRate;while (i--) {var p this.particles[i];if (p.y _this.ch - 20 - p.height) {p.renderBubble();_this.particles.splice(i, 1);}}};this.updateParticles function() {var i this.particles.length;while (i--) {var p this.particles[i];p.update(i);}};this.renderParticles function() {var i this.particles.length;while (i--) {var p this.particles[i];p.render();}};this.clearCanvas function() {this.ctx.globalCompositeOperation destination-out;this.ctx.fillStyle rgba(255,255,255,.06);this.ctx.fillRect(0, 0, this.cw, this.ch);this.ctx.globalCompositeOperation lighter;};this.loop function() {var loopIt function() {requestAnimationFrame(loopIt, _this.c);_this.clearCanvas();_this.createParticles();_this.updateParticles();_this.renderParticles();_this.removeParticles();};loopIt();};};var isCanvasSupported function() {var elem document.createElement(canvas);return !!(elem.getContext elem.getContext(2d));};var setupRAF function() {var lastTime 0;var vendors [ms, moz, webkit, o];for (var x 0; x vendors.length !window.requestAnimationFrame; x) {window.requestAnimationFrame window[vendors[x] RequestAnimationFrame];window.cancelAnimationFrame window[vendors[x] CancelAnimationFrame] || window[vendors[x] CancelRequestAnimationFrame];}if (!window.requestAnimationFrame) {window.requestAnimationFrame function(callback, element) {var currTime new Date().getTime();var timeToCall Math.max(0, 16 - (currTime - lastTime));var id window.setTimeout(function() {callback(currTime timeToCall);}, timeToCall);lastTime currTime timeToCall;return id;};}if (!window.cancelAnimationFrame) {window.cancelAnimationFrame function(id) {clearTimeout(id);};}};if (isCanvasSupported()) {var c document.getElementById(waterfall);var cw c.width Math.max(document.getElementById(waterfall).scrollWidth, document.getElementById(waterfall).offsetWidth, document.getElementById(waterfall).clientWidth, document.getElementById(waterfall).scrollWidth, document.getElementById(waterfall).offsetWidth);var ch c.height Math.max(document.getElementById(waterfall).scrollHeight, document.getElementById(waterfall).offsetHeight, document.getElementById(waterfall).clientHeight, document.getElementById(waterfall).scrollHeight, document.getElementById(waterfall).offsetHeight);var waterfall new waterfallCanvas(c, cw, ch);setupRAF();waterfall.init();} /* Second plugin */var w, h, renderer, stage, waveGraphics, partGraphics, waveTexture, partTexture, waveCount, partCount, waves, parts;function init() {renderer PIXI.autoDetectRenderer(window.innerWidth, window.innerHeight / 2, {backgroundColor: 0x tinycolor(hsl(200, 50%, 10%)).toHex()});stage new PIXI.Container();waveCount 2000;partCount 1000;waves [];parts [];document.body.appendChild(renderer.view);reset();for (var i 0; i 300; i) {step();}loop();} 上面的其他文件需要引入 源码获取 大家可以点赞、收藏、关注、评论我啦 、查看博主主页或下方微信公众号获取~ 打卡 文章 更新 45 /  100天 精彩推荐更新中 HTML5大作业实战案例《100套》 Java毕设项目精品实战案例《100套》
http://www.yutouwan.com/news/94122/

相关文章:

  • 招商加盟类网站模板开创网站要怎么做
  • 网站开发软件网站改版文案
  • 好的建网站公司铜梁网站建设
  • 北京建筑设计网站网络推广一个月的收入
  • 扬中网站建设推广编程软件下载安装
  • 用织梦做网站有什么公司会要抖音优化
  • 邯郸成安建设局网站wordpress无法连接到数据库连接
  • 哪里有网站培训的怎么做网站的内链
  • 门窗卫浴网站建设预约网站怎么做
  • 买车看车app排行榜优化设计答案五年级下册
  • 湖南网站排名优化公司wordpress两个域名访问
  • 电子商务网站建设实践课题背景凡客诚品的配送方式
  • 花生壳内网穿透网站如何做seo优化友情链接软件
  • 怎么做公司网站需要什么科目外贸网站运营推广
  • html投票代码建站到网站收录到优化
  • 网站建设建议如何做微信商城网站建设
  • 四会市住房和城乡建设局网站建设银行的登录网站
  • 关于 建设 旅游网站 建议做的网站打开慢
  • 深圳制作宣传片公司网站优化专家
  • 农产品网站建设 孙修东湖北省建设安全管理站网站
  • 泰兴做网站公司网站建设属于会计哪个科目
  • 网站建设能有多大访问量怎么建设展示网站 需要维护费吗
  • 长春专业网站建设模板注册自己的品牌需要多少钱
  • 网站后台怎么上传网页模板百度文库小程序入口
  • 口碑好的定制网站建设提供商云星穹铁道网页版入口
  • 沙漠网站建设网站建设代码怎么写
  • 有没有做外贸的网站啊如何编写html网页
  • 温州建设小学网站wordpress 列表分页
  • 临海城市建设网站制作人在线完整免费观看韩剧网
  • 青岛网站推广招商建设部网站证件查询