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

jq网站模板龙岗做网站公司szaow

jq网站模板,龙岗做网站公司szaow,怎么查看网站是否被百度惩罚降权或者被k,上海哪家公司做网站比较好大家都知道#xff0c;弹出窗体已经是现在网页常用的一种交互设计#xff0c;在这个注重交互动画体验的时代#xff0c;网页弹窗也是可以来点新鲜点子的#xff0c;比如今天分享的CSS 变形Modal Window。当用户点击按钮时#xff0c;按钮将会变成一个全屏的屏幕#xff0…大家都知道弹出窗体已经是现在网页常用的一种交互设计在这个注重交互动画体验的时代网页弹窗也是可以来点新鲜点子的比如今天分享的CSS 变形Modal Window。当用户点击按钮时按钮将会变成一个全屏的屏幕然后再显示内容整个展示过程流畅友好也许你可以尝试到你的新项目上。点击“Fire Modal Window”按钮后按钮将会慢慢变大直到整个屏幕。下面来个GIF演示使用教程本代码兼容Chrome, Firefox, Safari, Opera而IE需要9.0或以上版本(IE9)STEP 1: 创建HTML布局Fire Modal Window Close Fire Modal Window Close STEP 2: 添加CSS样式.cd-modal-action {position: relative;}.cd-modal-action .btn {width: 12.5em;height: 4em;background-color: #123758;border-radius: 5em;transition: color 0.2s 0.3s, width 0.3s 0s;}.cd-modal-action .btn.to-circle {width: 4em;color: transparent;transition: color 0.2s 0s, width 0.3s 0.2s;}.cd-modal-action .cd-modal-bg {position: absolute;top: 0;left: 50%;transform: translateX(-2em);width: 4em;height: 4em;background-color: #123758;border-radius: 50%;opacity: 0;visibility: hidden;transition: visibility 0s 0.5s;}.cd-modal-action .cd-modal-bg.is-visible {opacity: 1;visibility: visible;}.cd-modal-action {position: relative;}.cd-modal-action .btn {width: 12.5em;height: 4em;background-color: #123758;border-radius: 5em;transition: color 0.2s 0.3s, width 0.3s 0s;}.cd-modal-action .btn.to-circle {width: 4em;color: transparent;transition: color 0.2s 0s, width 0.3s 0.2s;}.cd-modal-action .cd-modal-bg {position: absolute;top: 0;left: 50%;transform: translateX(-2em);width: 4em;height: 4em;background-color: #123758;border-radius: 50%;opacity: 0;visibility: hidden;transition: visibility 0s 0.5s;}.cd-modal-action .cd-modal-bg.is-visible {opacity: 1;visibility: visible;}STEP 3: 添加jQuery本代码使用了jQuery你可以通过下面代码来修改窗口大小。var btnRadius $(‘.cd-modal-bg’).width()/2,left $(‘.cd-modal-bg’).offset().left btnRadius,top $(‘.cd-modal-bg’).offset().top btnRadius – $(window).scrollTop(),scale scaleValue(top, left, btnRadius, $(window).height(), $(window).width());function scaleValue( topValue, leftValue, radiusValue, windowW, windowH) {var maxDistHor ( leftValue windowW/2) ? leftValue : (windowW – leftValue),maxDistVert ( topValue windowH/2) ? topValue : (windowH – topValue);return Math.ceil(Math.sqrt( Math.pow(maxDistHor, 2) Math.pow(maxDistVert, 2) )/radiusValue);}var btnRadius $(‘.cd-modal-bg’).width()/2,left $(‘.cd-modal-bg’).offset().left btnRadius,top $(‘.cd-modal-bg’).offset().top btnRadius – $(window).scrollTop(),scale scaleValue(top, left, btnRadius, $(window).height(), $(window).width());function scaleValue( topValue, leftValue, radiusValue, windowW, windowH) {var maxDistHor ( leftValue windowW/2) ? leftValue : (windowW – leftValue),maxDistVert ( topValue windowH/2) ? topValue : (windowH – topValue);return Math.ceil(Math.sqrt( Math.pow(maxDistHor, 2) Math.pow(maxDistVert, 2) )/radiusValue);}下载CSS变形弹窗效果源码http://codyhouse.co/gem/morphing-modal-window/
http://www.pierceye.com/news/977210/

相关文章:

  • 沧州做网站哪家好wordpress站点进入时弹窗
  • 中国化工建设网站做淘宝网站如何提取中间的提成
  • 柳州网站制作推荐怀化网站seo
  • iis网站ip兰州网站排名分析
  • 珠海建网站多少钱网站月流量
  • 彩网站开发购物小程序源码
  • 优秀的网站建设开发案例合肥备案
  • 做网站怎么签订协议大数据下的精准营销
  • wordpress模版建站城乡建设部网站施工员证书查询
  • 手机网站前端网站开发成本包括
  • 有了主机和域名后如何做网站seo网站建站公司的主页
  • 株洲网站制作360广告联盟平台
  • 网站pv是什么意思vps开wordpress
  • 国外网站模版免费下载南通建设网站公司
  • 网站建设 广西学3d建模学费一般多少
  • 整站外包优化公司金山西安网站建设
  • 做3d动画网站广州公关公司排行榜
  • 网站开发确认表seo技术教程博客
  • 彩票网站建设一条龙淘客app
  • 泰安网站推广优化网站百度收录是什么意思
  • 免费虚拟主机控制面板长沙推广优化公司
  • 重庆企业网站建站公司建站系统
  • 规划设计网站推荐自己做采集电影网站
  • 免费学编程的网站有哪些做网站设计用什么软件
  • 网站成品超市学室内设计去哪好
  • 网站备案一个主体无锡建设银行网站
  • delphi xe10网站开发台州做网站多少钱
  • 怎样设计卖奖的网站做电影网站哪个服务器好
  • 找外包公司做网站的好处和坏处wordpress 访问量大
  • 淄博 网站设计越秀公司网站建设