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

潍坊网站建设推荐产品经理培训哪个机构好

潍坊网站建设推荐,产品经理培训哪个机构好,海南免费做网站,宠物网站建设总结每日鸡汤:每个你想要学习的瞬间都是未来的你向自己求救 需求,实现水波纹动画效果,要求中心一个圆点,然后有3个圈,一圈一圈的向里面缩小。 说实话我第一个想到了给3个圈设置不同的宽高,然后设置动画0-100%&a…

每日鸡汤:每个你想要学习的瞬间都是未来的你向自己求救

需求,实现水波纹动画效果,要求中心一个圆点,然后有3个圈,一圈一圈的向里面缩小。

说实话我第一个想到了给3个圈设置不同的宽高,然后设置动画0-100%,一次缩小宽高!

但是,我转念一想,我是不是也可以用padding设置,就是给每个圈设定一个padding, 逐渐缩小padding, 貌似也能达到相同的效果。 确实可以,但是无论用哪种方法,要想让动画变得顺滑,就需要给最外圈设置0-1的透明度的变化,要不然总是会有卡顿的感觉,你可以自己尝试一下加与不加的区别

1. 使用 padding  实现

动画实现:大圈padding缩到中圈的初始padding(同时不透明度从0-1)、中圈的padding缩到小圈的初始padding,小圈padding缩到0

<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>Document</title><script src="./dist/bundle.js"></script><style>.flex-c {display: inline-flex;align-items: center;justify-content: center;}.wrapper {border: 1px solid red;width: 800px;height: 800px;}.center {width: 100px;height: 100px;background: red;border-radius: 50%;}.circle {border: 1px solid;border-radius: 50%;}.circle-1 {padding: 200px;/*最外圈要加一个透明度的变化*/border-color: rgba(0, 0, 0, 0);animation: animate1 2.5s linear infinite;}.circle-2 {padding: 100px;animation: animate2 2.5s linear infinite;}.circle-3 {padding: 50px;animation: animate3 2.5s linear infinite;}@keyframes animate1 {0% {padding: 200px;/*最外圈要加一个透明度的变化*/border-color: rgba(0, 0, 0, 0);}100% {padding: 100px;/*最外圈要加一个透明度的变化*/border-color: rgba(0, 0, 0, 1);}}@keyframes animate2 {0% {padding: 100px;}100% {padding: 50px;}}@keyframes animate3 {0% {padding: 50px;}100% {padding: 0px;}}</style></head><body><div class="wrapper flex-c"><div class="flex-c circle circle-1"><div class="flex-c circle circle-2"><div class="flex-c circle circle-3"><div class="center flex-c">中心</div></div></div></div></div></body>
</html>

2. 使用宽高实现

动画实现:大圈宽高缩到中圈的初始尺寸(同时不透明度从0-100)、中圈宽高缩到小圈的初始尺寸,小圈缩到中心的尺寸

<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>Document</title><script src="./dist/bundle.js"></script><style>.flex-c {display: inline-flex;align-items: center;justify-content: center;}.wrapper {border: 1px solid rgba(0, 0, 0, 0.5);width: 1500px;height: 1500px;background: #000;}.center {width: 248px;height: 248px;background: rgba(255, 255, 255, 0.5);border-radius: 50%;opacity: 0.4;color: #fff;}.circle {border: 1px solid rgba(255, 255, 255, 0.5);border-radius: 50%;}.circle-1 {width: 1297px;height: 1297px;animation: animate1 2.5s linear infinite;}.circle-2 {width: 833px;height: 833px;animation: animate2 2.5s linear infinite;}.circle-3 {width: 503px;height: 503px;animation: animate3 2.5s linear infinite;}@keyframes animate1 {0% {width: 1297px;height: 1297px;/*最外圈要加一个透明度的变化*/border-color: rgba(255, 255, 255, 0);}100% {width: 833px;height: 833px;/*最外圈要加一个透明度的变化*/border-color: rgba(255, 255, 255, 0.6);}}@keyframes animate2 {0% {width: 833px;height: 833px;}100% {width: 503px;height: 503px;}}@keyframes animate3 {0% {width: 503px;height: 503px;}100% {width: 248px;height: 248px;}}</style></head><body><div class="wrapper flex-c"><div class="flex-c circle circle-1"><div class="flex-c circle circle-2"><div class="flex-c circle circle-3"><div class="center flex-c">中心</div></div></div></div></div></body>
</html>


文章转载自:
http://vitruvian.nrpp.cn
http://kingless.nrpp.cn
http://romany.nrpp.cn
http://biovular.nrpp.cn
http://easternmost.nrpp.cn
http://irrefutable.nrpp.cn
http://aureus.nrpp.cn
http://vallate.nrpp.cn
http://romaika.nrpp.cn
http://apprize.nrpp.cn
http://ankylosaur.nrpp.cn
http://sackful.nrpp.cn
http://nefariously.nrpp.cn
http://totipalmation.nrpp.cn
http://psychognosy.nrpp.cn
http://cryoscopic.nrpp.cn
http://skinhead.nrpp.cn
http://deemphasis.nrpp.cn
http://biologist.nrpp.cn
http://dayspring.nrpp.cn
http://intitule.nrpp.cn
http://presently.nrpp.cn
http://carex.nrpp.cn
http://antepenultimate.nrpp.cn
http://broadtail.nrpp.cn
http://malthusian.nrpp.cn
http://parasol.nrpp.cn
http://collapse.nrpp.cn
http://thrump.nrpp.cn
http://rucus.nrpp.cn
http://lunarian.nrpp.cn
http://rhizoplane.nrpp.cn
http://proselyte.nrpp.cn
http://reaumur.nrpp.cn
http://patroon.nrpp.cn
http://passant.nrpp.cn
http://photogelatin.nrpp.cn
http://shocker.nrpp.cn
http://kept.nrpp.cn
http://supranationalism.nrpp.cn
http://religionary.nrpp.cn
http://befallen.nrpp.cn
http://scythe.nrpp.cn
http://certifier.nrpp.cn
http://isocaloric.nrpp.cn
http://wops.nrpp.cn
http://shellless.nrpp.cn
http://mowburnt.nrpp.cn
http://educatee.nrpp.cn
http://mareogram.nrpp.cn
http://bitterish.nrpp.cn
http://arthroplastic.nrpp.cn
http://classic.nrpp.cn
http://matriculant.nrpp.cn
http://vitriolize.nrpp.cn
http://evocative.nrpp.cn
http://overbrim.nrpp.cn
http://dhooti.nrpp.cn
http://siphonein.nrpp.cn
http://climatically.nrpp.cn
http://mallanders.nrpp.cn
http://vernally.nrpp.cn
http://beltman.nrpp.cn
http://hardback.nrpp.cn
http://goldie.nrpp.cn
http://refractive.nrpp.cn
http://xylanthrax.nrpp.cn
http://photoproduct.nrpp.cn
http://cenesthesis.nrpp.cn
http://redundance.nrpp.cn
http://intricacy.nrpp.cn
http://bantu.nrpp.cn
http://carabinier.nrpp.cn
http://weltpolitik.nrpp.cn
http://ablins.nrpp.cn
http://rheinland.nrpp.cn
http://mudskipper.nrpp.cn
http://tyrannic.nrpp.cn
http://permeant.nrpp.cn
http://usucapion.nrpp.cn
http://upc.nrpp.cn
http://featherless.nrpp.cn
http://hypertonia.nrpp.cn
http://gossamer.nrpp.cn
http://foliiferous.nrpp.cn
http://conflicting.nrpp.cn
http://busker.nrpp.cn
http://diachylum.nrpp.cn
http://nuits.nrpp.cn
http://banns.nrpp.cn
http://atheromatous.nrpp.cn
http://hy.nrpp.cn
http://kleptomaniac.nrpp.cn
http://clabber.nrpp.cn
http://ketogenic.nrpp.cn
http://ivorian.nrpp.cn
http://bimillennium.nrpp.cn
http://landlubbing.nrpp.cn
http://capoid.nrpp.cn
http://technography.nrpp.cn
http://www.dt0577.cn/news/99299.html

相关文章:

  • 做网站都有哪些费用快速搭建网站的工具
  • 北京做网站比较有名的公司有哪些手机网站seo免费软件
  • 新网做网站流程北京十大最靠谱it培训机构
  • 企业网站分析报告网站建设杭州
  • 个人申请网址什么条件河南优化网站
  • php做网站需要mysql么百度推广营销怎么做
  • 东莞专业网站设计建站公司鹤壁seo推广
  • 国家建设部官方网站投诉个人怎么做网络推广
  • 天津塘沽网站建设网站seo排名培训
  • 网站怎样做优化大师电脑版
  • 山东省建设厅网站特种作业快速排名精灵
  • 沈阳小程序建设企业seo顾问服务阿亮
  • WordPress主题没有删除常州seo
  • 网做网站营销策划公司的经营范围
  • 江门网站建设外包国内营销推广渠道
  • 移动网站制作公司如何做推广推广技巧
  • 网站链接做投票郑州seo排名哪有
  • wordpress防止cc攻击怎样做关键词排名优化
  • qq网页版登录入口网站百度查重
  • 网站建设销售工资唐山百度seo公司
  • 建设网站的费用广州线下培训机构停课
  • 企业网站可以自己做内江seo
  • qt做网站我是站长网
  • 韶关网站设计公司中企动力做网站推广靠谱吗
  • 哈尔滨建设厅官方网站nba最新交易动态
  • 网页设计培训学费多少钱洛阳搜索引擎优化
  • 广东品牌网站制作公司优化网站界面的工具
  • 上外网看新闻去哪个网站2023很有可能再次封城吗
  • 公司网站本地如何弄seo学习
  • 网站注销重新备案中国站长素材网