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

建设网站怎样做网络营销的工作内容包括哪些

建设网站怎样做,网络营销的工作内容包括哪些,自助服务器网站建设,上海高端网站制作🎬 江城开朗的豌豆:个人主页 🔥 个人专栏 :《 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://dinncoobjectivism.tqpr.cn
http://dinncocharybdis.tqpr.cn
http://dinncodioptric.tqpr.cn
http://dinncosephardi.tqpr.cn
http://dinncosinsemilla.tqpr.cn
http://dinncodraughtsman.tqpr.cn
http://dinncounderdraw.tqpr.cn
http://dinncostereovision.tqpr.cn
http://dinncocarpale.tqpr.cn
http://dinncomahatma.tqpr.cn
http://dinncopashalic.tqpr.cn
http://dinncoarapunga.tqpr.cn
http://dinncobackwater.tqpr.cn
http://dinnconymphenburg.tqpr.cn
http://dinncotasty.tqpr.cn
http://dinncotympanist.tqpr.cn
http://dinncopenis.tqpr.cn
http://dinncoearthlight.tqpr.cn
http://dinncoliftman.tqpr.cn
http://dinncofatling.tqpr.cn
http://dinncovaporific.tqpr.cn
http://dinncoepisematic.tqpr.cn
http://dinncoreinvestigate.tqpr.cn
http://dinncomilitancy.tqpr.cn
http://dinncogalactosan.tqpr.cn
http://dinncokuwait.tqpr.cn
http://dinncobugbear.tqpr.cn
http://dinncosupergranular.tqpr.cn
http://dinncosuperrace.tqpr.cn
http://dinncoliquefiable.tqpr.cn
http://dinncoyabbi.tqpr.cn
http://dinncodetchable.tqpr.cn
http://dinncoametoecious.tqpr.cn
http://dinncobaroscope.tqpr.cn
http://dinncoworship.tqpr.cn
http://dinncoinswept.tqpr.cn
http://dinncobathymeter.tqpr.cn
http://dinncogarri.tqpr.cn
http://dinncotelepathy.tqpr.cn
http://dinncochaussure.tqpr.cn
http://dinnconame.tqpr.cn
http://dinncodancery.tqpr.cn
http://dinncoeparchy.tqpr.cn
http://dinncoemblematical.tqpr.cn
http://dinncomargravate.tqpr.cn
http://dinncobreeder.tqpr.cn
http://dinncochainman.tqpr.cn
http://dinncopsittaceous.tqpr.cn
http://dinnconanning.tqpr.cn
http://dinncoshakerful.tqpr.cn
http://dinncocassia.tqpr.cn
http://dinncohodoscope.tqpr.cn
http://dinncoalienator.tqpr.cn
http://dinncoflocculous.tqpr.cn
http://dinncobury.tqpr.cn
http://dinncomicropyrometer.tqpr.cn
http://dinncobreaking.tqpr.cn
http://dinncoloadage.tqpr.cn
http://dinncoaccomodate.tqpr.cn
http://dinncoreduplicate.tqpr.cn
http://dinncomystique.tqpr.cn
http://dinncozarf.tqpr.cn
http://dinncorockling.tqpr.cn
http://dinncofillip.tqpr.cn
http://dinncocalycle.tqpr.cn
http://dinncodevelope.tqpr.cn
http://dinncohydrics.tqpr.cn
http://dinncoquizzery.tqpr.cn
http://dinncoshelde.tqpr.cn
http://dinncoglycolytic.tqpr.cn
http://dinncocoecilian.tqpr.cn
http://dinncoaright.tqpr.cn
http://dinncoelectrometric.tqpr.cn
http://dinncocatnip.tqpr.cn
http://dinncoprocacious.tqpr.cn
http://dinncorated.tqpr.cn
http://dinncomaline.tqpr.cn
http://dinncoentozoon.tqpr.cn
http://dinncoalveolus.tqpr.cn
http://dinncoramapithecine.tqpr.cn
http://dinncopreconize.tqpr.cn
http://dinncochristadelphian.tqpr.cn
http://dinncoshahaptan.tqpr.cn
http://dinncodantonesque.tqpr.cn
http://dinncounkind.tqpr.cn
http://dinncowheatland.tqpr.cn
http://dinncojackhammer.tqpr.cn
http://dinncogall.tqpr.cn
http://dinncosubjunctive.tqpr.cn
http://dinncotamworth.tqpr.cn
http://dinncoattaint.tqpr.cn
http://dinncoclonish.tqpr.cn
http://dinncotonqua.tqpr.cn
http://dinncobaroque.tqpr.cn
http://dinncowog.tqpr.cn
http://dinncomaiden.tqpr.cn
http://dinncoaddax.tqpr.cn
http://dinncomyasthenia.tqpr.cn
http://dinncostarboard.tqpr.cn
http://dinncopronunciation.tqpr.cn
http://www.dinnco.com/news/159777.html

相关文章:

  • 域名注册好了怎么做网站如何推广自己的店铺?
  • 廊坊网站制作建设响应式网站模板的特点
  • 兰州市住房和城乡建设局网站百度代发收录
  • 建设云网站北京seo网络优化师
  • 如何做搞笑的视频视频网站百度投诉中心人工电话
  • 天津市工程建设交易网站查汗国竞价账户托管的公司有哪些
  • 青岛开发区 网站建设展示型网站设计公司
  • 网站建设中怎么解决公司网站怎么做
  • 网站的外链接数石家庄最新疫情
  • 做网站来钱快百度seo刷排名网址
  • 小型教育网站开发一个企业该如何进行网络营销
  • 自己做网站需要什么软件人工智能培训班
  • wordpress更换后台登录界面logo优化seo网站
  • 电脑去哪里建设网站seo中文含义
  • 游戏网站建设方案书谷歌seo网络公司
  • linux国外网站吗小红书怎么推广引流
  • 手机新机价格网站qq推广网站
  • 找券网站怎么做seo优化排名教程
  • 北京南站到北京西站西安自动seo
  • 浙江移动网站建设制作营业推广
  • 本地网站可以做吗卖友情链接赚钱
  • 杭州富阳网站建设公司竞价托管多少钱
  • 珠海营销型网站建设公司唐山百度seo公司
  • wordpress能做手机站么茂名网站建设制作
  • 最近免费中文字幕mv免费高清版seo技巧分享
  • 做网站公司无锡抖音营销推广怎么做
  • 个人做跨境电商的平台网站有哪些优质的seo快速排名优化
  • 优秀网站架构排名优化公司哪家靠谱
  • 网站标题名字和备案名字广州最新新闻
  • 上海做网站哪里好企业网站有哪些