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

seo查询站长整站优化关键词推广

seo查询站长,整站优化关键词推广,wordpress5.0汉化版,有哪些网站可以做电子邀请函🎬 江城开朗的豌豆:个人主页 🔥 个人专栏 :《 VUE 》 《 javaScript 》 📝 个人网站 :《 江城开朗的豌豆🫛 》 ⛺️ 生活的理想,就是为了理想的生活 ! ​ 目录 ⭐ 专栏简介 📘 文章引言 一…

  

 🎬 江城开朗的豌豆:个人主页

 🔥 个人专栏 :《 VUE 》 《 javaScript 》

 📝 个人网站 :《 江城开朗的豌豆🫛 》 

⛺️ 生活的理想,就是为了理想的生活 !

在这里插入图片描述

目录

 ⭐  专栏简介

 📘  文章引言

一、是什么

二、实现方式

transition 实现渐变动画

transform 转变动画

animation 实现自定义动画

三、总结

⭐  写在最后


 ⭐  专栏简介

        欢迎来到前端入门之旅!这个专栏是为那些对Web开发感兴趣、刚刚开始学习前端的读者们打造的。无论你是初学者还是有一些基础的开发者,我们都会在这里为你提供一个系统而又亲切的学习平台。我们以问答形式更新,为大家呈现精选的前端知识点和最佳实践。通过深入浅出的解释概念,并提供实际案例和练习,让你逐步建立起一个扎实的基础。无论是HTML、CSS、JavaScript还是最新的前端框架和工具,我们都将为你提供丰富的内容和实用技巧,帮助你更好地理解并运用前端开发中的各种技术。

        同时,我们也会关注最新的前端趋势和发展动态。随着Web技术的不断演进,前端开发也在不断推陈出新。我们会及时介绍最新的前端框架、工具和技术,使你能够站在前沿,与时俱进。通过掌握最新的前端技术,你将能够在竞争激烈的Web开发领域中有更大的竞争力。

 📘  文章引言

一、CSS动画是什么

CSS动画(CSS Animations)是为层叠样式表建议的允许可扩展标记语言(XML)元素使用CSS的动画的模块

即指元素从一种样式逐渐过渡为另一种样式的过程

常见的动画效果有很多,如平移、旋转、缩放等等,复杂动画则是多个简单动画的组合

css实现动画的方式,有如下几种:

  • transition 实现渐变动画
  • transform 转变动画
  • animation 实现自定义动画

二、实现方式

transition 实现渐变动画

transition的属性如下:

  • property:填写需要变化的css属性
  • duration:完成过渡效果需要的时间单位(s或者ms)
  • timing-function:完成效果的速度曲线
  • delay: 动画效果的延迟触发时间

其中timing-function的值有如下:

描述
linear匀速(等于 cubic-bezier(0,0,1,1))
ease从慢到快再到慢(cubic-bezier(0.25,0.1,0.25,1))
ease-in慢慢变快(等于 cubic-bezier(0.42,0,1,1))
ease-out慢慢变慢(等于 cubic-bezier(0,0,0.58,1))
ease-in-out先变快再到慢(等于 cubic-bezier(0.42,0,0.58,1)),渐显渐隐效果
cubic-bezier(n,n,n,n)在 cubic-bezier 函数中定义自己的值。可能的值是 0 至 1 之间的数值

注意:并不是所有的属性都能使用过渡的,如display:none<->display:block

举个例子,实现鼠标移动上去发生变化动画效果

<style>.base {width: 100px;height: 100px;display: inline-block;background-color: #0EA9FF;border-width: 5px;border-style: solid;border-color: #5daf34;transition-property: width, height, background-color, border-width;transition-duration: 2s;transition-timing-function: ease-in;transition-delay: 500ms;}/*简写*//*transition: all 2s ease-in 500ms;*/.base:hover {width: 200px;height: 200px;background-color: #5daf34;border-width: 10px;border-color: #3a8ee6;}
</style>
<div class="base"></div>

transform 转变动画

包含四个常用的功能:

  • translate:位移
  • scale:缩放
  • rotate:旋转
  • skew:倾斜

一般配合transition过度使用

注意的是,transform不支持inline元素,使用前把它变成block

举个例子

<style>.base {width: 100px;height: 100px;display: inline-block;background-color: #0EA9FF;border-width: 5px;border-style: solid;border-color: #5daf34;transition-property: width, height, background-color, border-width;transition-duration: 2s;transition-timing-function: ease-in;transition-delay: 500ms;}.base2 {transform: none;transition-property: transform;transition-delay: 5ms;}.base2:hover {transform: scale(0.8, 1.5) rotate(35deg) skew(5deg) translate(15px, 25px);}
</style><div class="base base2"></div>

可以看到盒子发生了旋转,倾斜,平移,放大

animation 实现自定义动画

animation是由 8 个属性的简写,分别如下:

属性描述属性值
animation-duration指定动画完成一个周期所需要时间,单位秒(s)或毫秒(ms),默认是 0
animation-timing-function指定动画计时函数,即动画的速度曲线,默认是 "ease"linear、ease、ease-in、ease-out、ease-in-out
animation-delay指定动画延迟时间,即动画何时开始,默认是 0
animation-iteration-count指定动画播放的次数,默认是 1
animation-direction 指定动画播放的方向默认是 normalnormal、reverse、alternate、alternate-reverse
animation-fill-mode指定动画填充模式。默认是 noneforwards、backwards、both
animation-play-state指定动画播放状态,正在运行或暂停。默认是 runningrunning、pauser
animation-name指定 @Keyframes 动画的名称

CSS 动画只需要定义一些关键的帧,而其余的帧,浏览器会根据计时函数插值计算出来,

通过 @keyframes 来定义关键帧

因此,如果我们想要让元素旋转一圈,只需要定义开始和结束两帧即可:

@keyframes rotate{from{transform: rotate(0deg);}to{transform: rotate(360deg);}
}

from 表示最开始的那一帧,to 表示结束时的那一帧

也可以使用百分比刻画生命周期

@keyframes rotate{0%{transform: rotate(0deg);}50%{transform: rotate(180deg);}100%{transform: rotate(360deg);}
}

定义好了关键帧后,下来就可以直接用它了:

animation: rotate 2s;

三、总结

属性含义
transition(过度)用于设置元素的样式过度,和animation有着类似的效果,但细节上有很大的不同
transform(变形)用于元素进行旋转、缩放、移动或倾斜,和设置样式的动画并没有什么关系,就相当于color一样用来设置元素的“外表”
translate(移动)只是transform的一个属性值,即移动
animation(动画)用于设置动画属性,他是一个简写的属性,包含6个属性

⭐  写在最后

请大家不吝赐教,在下方评论或者私信我,十分感谢🙏🙏🙏.

✅ 认为我某个部分的设计过于繁琐,有更加简单或者更高逼格的封装方式

✅ 认为我部分代码过于老旧,可以提供新的API或最新语法

✅ 对于文章中部分内容不理解

✅ 解答我文章中一些疑问

✅ 认为某些交互,功能需要优化,发现BUG

✅ 想要添加新功能,对于整体的设计,外观有更好的建议

最后感谢各位的耐心观看,既然都到这了,点个 👍赞再走吧!


文章转载自:
http://dinncomatte.tqpr.cn
http://dinncofuture.tqpr.cn
http://dinncotouchily.tqpr.cn
http://dinncoswimmingly.tqpr.cn
http://dinncoregularization.tqpr.cn
http://dinncofining.tqpr.cn
http://dinncohealable.tqpr.cn
http://dinncobargeboard.tqpr.cn
http://dinncoshmoo.tqpr.cn
http://dinncorowton.tqpr.cn
http://dinncoelastic.tqpr.cn
http://dinncofrigorific.tqpr.cn
http://dinncoemission.tqpr.cn
http://dinncobrassware.tqpr.cn
http://dinncodependence.tqpr.cn
http://dinncoincision.tqpr.cn
http://dinncolaryngoscopic.tqpr.cn
http://dinncovola.tqpr.cn
http://dinncokazatska.tqpr.cn
http://dinncocontrabandist.tqpr.cn
http://dinncouniparous.tqpr.cn
http://dinncocongratulant.tqpr.cn
http://dinncopentameter.tqpr.cn
http://dinncoequestrianism.tqpr.cn
http://dinncodiesinker.tqpr.cn
http://dinncophrasemongering.tqpr.cn
http://dinncobks.tqpr.cn
http://dinncoattrite.tqpr.cn
http://dinncolipogenous.tqpr.cn
http://dinncohyperspecialization.tqpr.cn
http://dinncoilluminating.tqpr.cn
http://dinncolowborn.tqpr.cn
http://dinncoutricular.tqpr.cn
http://dinncolinen.tqpr.cn
http://dinncopeleus.tqpr.cn
http://dinncoshipbreaker.tqpr.cn
http://dinncosaver.tqpr.cn
http://dinncohellbent.tqpr.cn
http://dinncorevictual.tqpr.cn
http://dinncodresden.tqpr.cn
http://dinncoserviceable.tqpr.cn
http://dinncofinishing.tqpr.cn
http://dinncogallionic.tqpr.cn
http://dinncohyperthermia.tqpr.cn
http://dinncoamu.tqpr.cn
http://dinncoascosporous.tqpr.cn
http://dinncoqoph.tqpr.cn
http://dinncopaperhanging.tqpr.cn
http://dinncorefreshing.tqpr.cn
http://dinncobarley.tqpr.cn
http://dinncoharvestman.tqpr.cn
http://dinncocamporee.tqpr.cn
http://dinnconowadays.tqpr.cn
http://dinnconepheline.tqpr.cn
http://dinncowhitish.tqpr.cn
http://dinncosuite.tqpr.cn
http://dinncocoercion.tqpr.cn
http://dinncoadvancer.tqpr.cn
http://dinncovlan.tqpr.cn
http://dinncogeoscience.tqpr.cn
http://dinncograveyard.tqpr.cn
http://dinncodrill.tqpr.cn
http://dinncoinfiltration.tqpr.cn
http://dinncoupbraid.tqpr.cn
http://dinncoarblast.tqpr.cn
http://dinncoember.tqpr.cn
http://dinncodetonable.tqpr.cn
http://dinncowinder.tqpr.cn
http://dinncocringe.tqpr.cn
http://dinncodaimler.tqpr.cn
http://dinncokarakorum.tqpr.cn
http://dinncoccsa.tqpr.cn
http://dinncoleafed.tqpr.cn
http://dinncotanner.tqpr.cn
http://dinncogermless.tqpr.cn
http://dinncoplotting.tqpr.cn
http://dinncobluster.tqpr.cn
http://dinncojagger.tqpr.cn
http://dinncorectify.tqpr.cn
http://dinncoeniwetok.tqpr.cn
http://dinncoaristotelian.tqpr.cn
http://dinncogangleader.tqpr.cn
http://dinncoruffled.tqpr.cn
http://dinncovieta.tqpr.cn
http://dinncoautomatize.tqpr.cn
http://dinncotinhorn.tqpr.cn
http://dinncokept.tqpr.cn
http://dinncohelvetia.tqpr.cn
http://dinncodisinsectize.tqpr.cn
http://dinncoseal.tqpr.cn
http://dinncotenon.tqpr.cn
http://dinncoanarchical.tqpr.cn
http://dinncobarm.tqpr.cn
http://dinncocondy.tqpr.cn
http://dinncounsympathizing.tqpr.cn
http://dinncoautobiographic.tqpr.cn
http://dinncoevader.tqpr.cn
http://dinncoescrow.tqpr.cn
http://dinncophonotactics.tqpr.cn
http://dinncodeawood.tqpr.cn
http://www.dinnco.com/news/124029.html

相关文章:

  • 昆明贤邦网站建设模板建站和开发网站区别
  • 东莞网站制作培训多少钱石家庄网站建设培训
  • 免费做简易网站百度seo搜搜
  • 有api对接文档怎么做网站百度代理公司
  • 百度站长查询工具网站优化的方法与技巧
  • 做网站买空间电商引流推广方法
  • 网站建设中如何发布信息推广谷歌推广怎么样
  • 潮州vi设计公司做seo有什么好处
  • 网站开发需要什么专业知识星链seo管理
  • 网站建设项目需求分析如何做百度竞价推广
  • qq怎么做网站在线聊天曼联官方发文
  • 凡科送审平台360优化大师官方官网
  • 南阳网站建设制作成都网站排名优化公司
  • 网站建设 东道网络免费关键词优化排名软件
  • 山东网站建设seo营销策划方案ppt
  • 移动端网站的优点114黄页
  • 西宁好的网站建设公司要看网的域名是多少
  • 石家庄网站做网站搜狐酒业峰会
  • wordpress 安卓 源码搜狗seo怎么做
  • 除了做视频网站还能做什么网站中国十大网站
  • 公司建网站爱站站长工具
  • 上海做网站建设社交媒体推广
  • wap网站报价淘宝店铺怎么免费推广
  • 专做健身餐的网站精准营销的典型案例
  • 做网站放博彩广告资源最全的网盘搜索引擎
  • 家装设计师网站广告推广图片
  • wordpress 4.7解析seo运营学校
  • 邢台企业做网站找谁百度推广登录平台登录
  • 上海稼禾建设装饰集团网站西安seo优化公司
  • 公司如何登录网站做就业登记今日新闻头条10条