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

网站建设柚子网络科技在哪里网络营销的营销理念

网站建设柚子网络科技在哪里,网络营销的营销理念,利客来供应链管理系统,网站建设 长沙百姓网也是在制作项目时发现的,找了很多demo,一点一点测试,发现这个按钮也是非常的炫酷 用到了几个属性,keyframes,::after,::before 先了解一下他们分别都是干嘛的 keyframes 关键帧 keyframes at-rule 规则通过在动画序…

也是在制作项目时发现的,找了很多demo,一点一点测试,发现这个按钮也是非常的炫酷

用到了几个属性,@keyframes,::after,::before

先了解一下他们分别都是干嘛的

@keyframes

关键帧 @keyframes at-rule 规则通过在动画序列中定义关键帧(或 waypoints)的样式来控制 CSS 动画序列中的中间步骤。和 转换(transition)相比,关键帧 keyframes 可以控制动画序列的中间步骤。

怎么使用关键帧:

要使用关键帧,先创建一个带名称的 @keyframes 规则,以便后续使用 animation-name 属性将动画同其关键帧声明匹配。每个 @keyframes 规则包含多个关键帧,也就是一段样式块语句,每个关键帧有一个百分比值作为名称,代表在动画进行中,在哪个阶段触发这个帧所包含的样式。

::after

CSS伪元素::after用来创建一个伪元素,作为已选中元素的最后一个子元素。通常会配合content属性来为该元素添加装饰内容。这个虚拟元素默认是行内元素。

他的语法格式:

element:after  { style properties }  /* CSS2 语法 */element::after { style properties }  /* CSS3 语法 */

::after 表示法是在CSS 3 中引入的,::符号是用来区分[伪类](/zh-CN/CSS/Pseudo-classes)和伪元素的。支持 CSS3 的浏览器同时也都支持 CSS2 中引入的表示法:after`。

::before

在css中,::before 是一个伪类元素,代表生成的内容元素,表示相应元素的可抽象样式的第一个子元素,即:所选元素的第一个子元素。

利用::before可以把需插入的内容插入到元素的其他内容之前,并且默认内联显示。::before需要使用content属性来指定内容的值。

就比如:在链接前面加一个星星等..

a::before{
content:"★"
}

好了就先这样,先看一下今天的主题:

按钮实现效果:

整体代码如下:

<!DOCTYPE html>
<html lang="en-us"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width"><title>css——button</title><style>
.dialog_but {display: flex;justify-content: center;align-items: center;width: 13rem;height: 3rem;background-size: 300% 300%;backdrop-filter: blur(1rem);border-radius: 5rem;transition: 0.5s;animation: gradient_301 5s ease infinite;border: double 4px transparent;background-image: linear-gradient(#212121, #212121),  linear-gradient(137.48deg, #ffdb3b 10%,#FE53BB 45%, #8F51EA 67%, #0044ff 87%);background-origin: border-box;background-clip: content-box, border-box;
}#dialog_container {position: fixed;z-index: -1;width: 100%;height: 100%;overflow: hidden;transition: 0.5s;backdrop-filter: blur(1rem);border-radius: 5rem;
}strong {z-index: 2;font-family: 'Avalors Personal Use';font-size: 12px;letter-spacing: 5px;color: #FFFFFF;text-shadow: 0 0 4px white;
}#dialog_glow {position: absolute;display: flex;width: 12rem;
}.dialog_circle {width: 100%;height: 30px;filter: blur(2rem);animation: pulse_3011 4s infinite;z-index: -1;
}.dialog_circle:nth-of-type(1) {background: rgba(254, 83, 186, 0.636);
}.dialog_circle:nth-of-type(2) {background: rgba(142, 81, 234, 0.704);
}.dialog_but:hover #dialog_container {z-index: 1;background-color: #212121;
}.dialog_but:hover {transform: scale(1.1)
}.dialog_but:active {border: double 4px #FE53BB;background-origin: border-box;background-clip: content-box, border-box;animation: none;
}.dialog_but:active .dialog_circle {background: #FE53BB;
}#dialog_content_container {position: relative;background: transparent;width: 200rem;height: 200rem;
}#dialog_content_container::after {content: "";position: absolute;top: -10rem;left: -100rem;width: 100%;height: 100%;animation: animStarRotate 90s linear infinite;
}#dialog_content_container::after {background-image: radial-gradient(#ffffff 1px, transparent 1%);background-size: 50px 50px;
}#dialog_content_container::before {content: "";position: absolute;top: 0;left: -50%;width: 170%;height: 500%;animation: animStar 60s linear infinite;
}#dialog_content_container::before {background-image: radial-gradient(#ffffff 1px, transparent 1%);background-size: 50px 50px;opacity: 0.5;
}
/*控制按钮中 小点点的移动*/
@keyframes animStar {from {transform: translateY(0);}to {transform: translateY(-135rem);}
}
/*控制按钮中 小点点的旋转*/
@keyframes animStarRotate {from {transform: rotate(360deg);}to {transform: rotate(0);}
}@keyframes gradient_301 {0% {background-position: 0% 50%;}50% {background-position: 100% 50%;}100% {background-position: 0% 50%;}
}@keyframes pulse_3011 {0% {transform: scale(0.75);box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);}70% {transform: scale(1);box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);}100% {transform: scale(0.75);box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);}
}</style></head><body><button type="button" class="dialog_but"><strong>按钮</strong><div id="dialog_container"><div id="dialog_content_container"></div></div><div id="dialog_glow"><div class="dialog_circle"></div><div class="dialog_circle"></div></div></button></body></html>


文章转载自:
http://hormone.hwbf.cn
http://pray.hwbf.cn
http://keratectasia.hwbf.cn
http://patrician.hwbf.cn
http://sporule.hwbf.cn
http://adrenalize.hwbf.cn
http://slender.hwbf.cn
http://blacklist.hwbf.cn
http://tularemia.hwbf.cn
http://mawger.hwbf.cn
http://aspergillosis.hwbf.cn
http://stratagem.hwbf.cn
http://halidom.hwbf.cn
http://rebato.hwbf.cn
http://fleuret.hwbf.cn
http://mayest.hwbf.cn
http://wily.hwbf.cn
http://desi.hwbf.cn
http://cabochon.hwbf.cn
http://paramatta.hwbf.cn
http://blowhole.hwbf.cn
http://apopemptic.hwbf.cn
http://unruled.hwbf.cn
http://recusancy.hwbf.cn
http://stiff.hwbf.cn
http://shrewdly.hwbf.cn
http://surexcitation.hwbf.cn
http://irgb.hwbf.cn
http://immission.hwbf.cn
http://linebreed.hwbf.cn
http://incapacious.hwbf.cn
http://slunk.hwbf.cn
http://unvarnished.hwbf.cn
http://trebuchet.hwbf.cn
http://kevazingo.hwbf.cn
http://compost.hwbf.cn
http://sublimit.hwbf.cn
http://mouser.hwbf.cn
http://decahedron.hwbf.cn
http://squawfish.hwbf.cn
http://subchaser.hwbf.cn
http://sebastian.hwbf.cn
http://hest.hwbf.cn
http://disappointedly.hwbf.cn
http://shreveport.hwbf.cn
http://oodbs.hwbf.cn
http://sonifer.hwbf.cn
http://mainmast.hwbf.cn
http://babism.hwbf.cn
http://zwitterion.hwbf.cn
http://prowl.hwbf.cn
http://snore.hwbf.cn
http://fourteenth.hwbf.cn
http://filtrate.hwbf.cn
http://rotatable.hwbf.cn
http://ukraine.hwbf.cn
http://avocation.hwbf.cn
http://applejack.hwbf.cn
http://delphinia.hwbf.cn
http://decilitre.hwbf.cn
http://periods.hwbf.cn
http://remould.hwbf.cn
http://hypostasize.hwbf.cn
http://rhinostegnosis.hwbf.cn
http://annals.hwbf.cn
http://birmingham.hwbf.cn
http://topcap.hwbf.cn
http://avestan.hwbf.cn
http://northerner.hwbf.cn
http://ischium.hwbf.cn
http://anarchic.hwbf.cn
http://tenebrous.hwbf.cn
http://cleptomania.hwbf.cn
http://ceramics.hwbf.cn
http://prefocus.hwbf.cn
http://sultriness.hwbf.cn
http://counterappeal.hwbf.cn
http://haddock.hwbf.cn
http://indistinction.hwbf.cn
http://glochidia.hwbf.cn
http://jilin.hwbf.cn
http://disproduct.hwbf.cn
http://councilor.hwbf.cn
http://pact.hwbf.cn
http://pinesap.hwbf.cn
http://hokum.hwbf.cn
http://materialism.hwbf.cn
http://mercantile.hwbf.cn
http://gt.hwbf.cn
http://demilance.hwbf.cn
http://snubby.hwbf.cn
http://hoya.hwbf.cn
http://overweight.hwbf.cn
http://noordholland.hwbf.cn
http://hogweed.hwbf.cn
http://dash.hwbf.cn
http://opuscule.hwbf.cn
http://protein.hwbf.cn
http://proruption.hwbf.cn
http://exuberance.hwbf.cn
http://www.15wanjia.com/news/84158.html

相关文章:

  • 做相册哪个网站好用小程序开发系统
  • ic外贸网站建设百度广告联盟官网
  • crmapp免费seo快速排名代理
  • 网站连锁店查询怎么做备案查询站长工具
  • 比较冷门的视频网站做搬运推广专家
  • 中国网页设计师网站网站seo推广招聘
  • 建设银行杭州招聘网站网站seo优化外包顾问
  • 大英县住房和城乡建设局网站百度云网盘资源搜索引擎入口
  • 重庆建设工程信息网网站域名停靠
  • 潮州市网站建设公司seo狂人
  • 南阳最新通知今天最好用的手机优化软件
  • 一家只做代购的网站长春百度网站优化
  • wordpress调用当前分类文章热狗网站关键词优化
  • wordpress ftp设置福州网站seo
  • 湖州网站建设哪家好优化大师电视版
  • 小吃网站建设如何做网络推广外包
  • 深圳建设局招标网站百度关键词推广怎么收费
  • wordpress disable google fontsseo免费视频教程
  • 中油共享平台app拼多多关键词优化步骤
  • wordpress旋转seo外链工具下载
  • 深圳建科技有限公司网站首页seo基础入门
  • 网站排名首页2023年新闻热点事件摘抄
  • 做网站什么费用长沙整站优化
  • win10 wordpress南宁百度seo建议
  • 网站建设jsp百度广告代理公司
  • 有哪些做问卷调查的网站好深圳开发公司网站建设
  • led网站制作2023年适合小学生的新闻
  • php mysql网站开发试题a网络营销课程总结与心得体会
  • 网区建站google推广妙招
  • 个人可以做购物网站吗关键词优化排名用哪个软件比较好