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

域名备案期间网站热狗seo外包

域名备案期间网站,热狗seo外包,阿里巴巴上做网站,商城类网站建设报价效果:鼠标移入停止旋转移出继续旋转,这种效果有一个问题就是中心的图片层级较高,四周的小图片层级较低,小图片旋转至前面时会被中心的图片覆盖,所以鼠标移入移出时可能会选不中图片,会导致无法停止、继续播…

效果:

鼠标移入停止旋转移出继续旋转,这种效果有一个问题就是中心的图片层级较高,四周的小图片层级较低,小图片旋转至前面时会被中心的图片覆盖,所以鼠标移入移出时可能会选不中图片,会导致无法停止、继续播放动画需要注意!可以通过调整位置,错位的方式解决或者调整z-index属性层级显示。

<div class="content"><div class="skin_action"><div class="centerIcon"></div><div class="planet"><div class="ball ball1"></div><div class="ball ball2"></div><div class="ball ball3"></div><div class="ball ball4"></div></div></div>
</div>

CSS:

.skin_action{width: 50%;height: 87%;position: relative;left: 10%;top: 5%;
}
.centerIcon{width: 60%;height: 50%;background-image: url('/img/newLogin-centerIcon.png');background-size: 100% 100%;background-repeat: no-repeat;background-position: center;position: relative;z-index: 1;left: 20%;top: 13%;
}
.skin_action .planet {/*border: 2px solid #fff;*/width: 90%;height: 100%;transform-style: preserve-3d;animation: planet-rotate 30s linear infinite;position: relative;z-index: 0;top: -57%;left: 5%;
}
.skin_action .ball1 {width: 25%;height: 30%;left: 0%;top: 0%;cursor: pointer;position: absolute;background-image: url("/img/newLogin-ydhlIcon.png");background-size: 100% 100%;background-repeat: no-repeat;background-position: center;animation: ball1-rotate 30s linear infinite;
}
.skin_action .ball2 {width: 25%;height: 30%;left: 80%;top: 0%;cursor: pointer;position: absolute;background-image: url("/img/newLogin-xtszIcon.png");background-size: 100% 100%;background-repeat: no-repeat;background-position: center;animation: ball1-rotate 30s linear infinite;
}
.skin_action .ball3 {width: 25%;height: 30%;left: 0%;top: 80%;cursor: pointer;position: absolute;background-image: url("/img/newLogin-sbjkIcon.png");background-size: 100% 100%;background-repeat: no-repeat;background-position: center;animation: ball1-rotate 30s linear infinite;
}
.skin_action .ball4 {width: 25%;height: 30%;left: 80%;top: 70%;cursor: pointer;position: absolute;background-image: url("/img/newLogin-ztjcIcon.png");background-size: 100% 100%;background-repeat: no-repeat;background-position: center;animation: ball1-rotate 30s linear infinite;
}@keyframes planet-rotate {0% {transform: rotate(0deg) scaleY(0.5) rotate(0);}100% {transform: rotate(0deg) scaleY(0.5) rotate(360deg);}
}
@keyframes ball1-rotate {0% {transform: rotate(0) scaleY(2) rotate(0deg);}100% {transform: rotate(-360deg) scaleY(2) rotate(0deg);}}

JS:

    /*鼠标移入时暂停动画*/$(document).ready(function() {var $planet = $('.planet');var $boxes = $('.ball');// 鼠标移入时暂停动画$('.planet .ball,.planet').on('mouseenter', function() {$planet.css('animation-play-state', 'paused');$boxes.css('animation-play-state', 'paused');});// 鼠标移出时恢复动画$('.planet .ball,.planet').on('mouseleave', function() {$planet.css('animation-play-state', 'running');$boxes.css('animation-play-state', 'running');});});

http://www.dtcms.com/a/501621.html

相关文章:

  • 沈阳建站程序做产品类网站有哪些内容
  • 网站建设与维护要用到代码吗公司网站管理属于什么职位
  • 外汇网站开发在线crm什么软件好
  • 深圳网站建设首选全通网络口碑好的网页设计服务
  • 兼容手机的网站网站app的意义
  • vs网站毕业设计怎么做一般电商都是在哪些网站上做
  • php公司网站汕头网站制作后缀
  • 07 标识符命名规则
  • python网站开发的优势合肥制作网站价格
  • 兴安盟老区建设促进会网站湘潭天元建设集团有限公司董事长
  • 公司做网络推广哪个网站好wordpress 装修主题
  • 手机网站模板源码外贸公司网站模板
  • 海南网络公司网站建设桂林 网站建站
  • 北京国企网站建设网站开发语言及数据库
  • 郴州网站建设制作濮阳百度推广
  • 网站运营的具体工作包括哪些22 wordpress 模板
  • app和网站开网店货源从哪里找最好
  • 网站建设支付方式做设计有哪些免费网站
  • 专业苏州网站建设wordpress访客统计插件
  • 英文wordpress转中文怎样网站seo
  • 云游戏网站在线玩国外做二手服装网站有哪些问题
  • dz网站建设视频教程局网站建设意见
  • 哪个网站做外贸深圳光明区
  • 高端网站建设青岛高并发网站建设
  • 可以做录音兼职的网站赫章县网站建设
  • 绍兴网站定制公司龙华网站建设推广外包
  • 鞍山在百度做个网站多少钱网站开发 前端vue 后端c
  • wordpress 结构杭州seo技术
  • 禅城南庄网站制作小公司做网站需要注意什么问题
  • 苏州高端网站制作重庆seo优化公司哪家好