您现在的位置是:网站首页>列表内容
使用css3制作齿轮loading动画效果_CSS教程_CSS_网页制作_
2021-09-10 22:34:23 722人已围观
简介 这是一款基于css3齿轮loading动画特效,使用font-awesome字体图标的齿轮图标作为图案,通过CSS3 animation来制作三个齿轮的运动效果。感兴趣的朋友跟随小编一起看看吧
这是一款基于css3齿轮loading动画特效。该特效使用font-awesome字体图标的齿轮图标作为图案,通过CSS3 animation来制作三个齿轮的运动效果。
HTML
首先在页面中引入font-awesome文件。
CSS样式
然后通过下面的CSS样式来制作齿轮的动画效果。
#loader-wrapper { width: 60px; height: 60px; margin: auto; position: relative; } .loader{ position: absolute; } #loader1{ color: #3A4652; font-size: 35px; text-align: center; width: 35px; height: 35px; top: -20px; left: 3px; animation: animate-1 1s infinite linear; } #loader2{ color: #d72f2b; font-size: 50px; text-align: center; height: 50px; width: 50px; right: -12px; animation: animate-2 1s infinite linear; } #loader3{ color: #3A4652; font-size: 35px; text-align: center; width: 35px; height: 35px; bottom: -10px; left: 3px; animation: animate-3 1s infinite linear; } @keyframes animate-1{ 100% { transform: rotate(-180deg); } } @keyframes animate-2{ 100% { transform: rotate(180deg); } } @keyframes animate-3{ 100% { transform: rotate(-180deg); } }
总结
以上所述是小编给大家介绍的使用css3制作齿轮loading动画效果,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对网站的支持!
更多特效源码可以关注小编的公众号哦!
点击排行
- 全民小镇微信签到有礼活动奖励怎么领取_微信签到有礼活动详情_手机游戏_游戏攻略_
- 全民小镇月卡怎么购买好_全民小镇月卡奖励内容介绍_手机游戏_游戏攻略_
- 主公莫慌10月15日停服维护介绍_维护后登陆游戏后可自动领取奖励_手机游戏_游戏攻略_
- 剑魂之刃VIP等级特权与充值金额详细介绍_手机游戏_游戏攻略_
- 暖暖环游世界冰雪女王图纸制作材料有哪些_冰雪女王图纸制作材料详解_手机游戏_游戏攻略_
- 海岛奇兵10月15日恐怖博士岛1-20阶段打法及视频攻略_手机游戏_游戏攻略_
- 七雄争霸手游贵族特权功能详解_手机游戏_游戏攻略_
- 雷霆战机恶魔之影如何通关_雷霆战机恶魔之影通关攻略_手机游戏_游戏攻略_
- 全民小镇求打赏活动如何领取奖励及求打赏奖励领取地址_手机游戏_游戏攻略_
本栏推荐
-
全民小镇微信签到有礼活动奖励怎么领取_微信签到有礼活动详情_手机游戏_游戏攻略_
-
全民小镇月卡怎么购买好_全民小镇月卡奖励内容介绍_手机游戏_游戏攻略_
-
主公莫慌10月15日停服维护介绍_维护后登陆游戏后可自动领取奖励_手机游戏_游戏攻略_
-
剑魂之刃VIP等级特权与充值金额详细介绍_手机游戏_游戏攻略_
-
暖暖环游世界冰雪女王图纸制作材料有哪些_冰雪女王图纸制作材料详解_手机游戏_游戏攻略_
-
海岛奇兵10月15日恐怖博士岛1-20阶段打法及视频攻略_手机游戏_游戏攻略_
-
七雄争霸手游贵族特权功能详解_手机游戏_游戏攻略_
-
雷霆战机恶魔之影如何通关_雷霆战机恶魔之影通关攻略_手机游戏_游戏攻略_
-
全民小镇求打赏活动如何领取奖励及求打赏奖励领取地址_手机游戏_游戏攻略_