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

地方门户网站模板免费百度seo引流

地方门户网站模板,免费百度seo引流,微信小程序哪家开发得好,9420高清完整版视频在线观看1效果演示 这段代码创建了一个具有动态背景和渐变效果的卡片。卡片背景有一个无限循环的旋转动画&#xff0c;增加了视觉吸引力。这种效果可以用于展示个人信息、项目介绍或其他需要吸引用户注意的内容。 HTML <div class"card"><h3>前端Hardy</h3&…

效果演示

这段代码创建了一个具有动态背景和渐变效果的卡片。卡片背景有一个无限循环的旋转动画,增加了视觉吸引力。这种效果可以用于展示个人信息、项目介绍或其他需要吸引用户注意的内容。

HTML

  <div class="card"><h3>前端Hardy</h3></div>

CSS

html,body {width: 100vw;height: 100vh;display: flex;justify-content: center;align-items: center;margin: 0;overflow: hidden;background: #f7d6ff;background-image: linear-gradient(to bottom right, #91defe, #99c0f9, #bdb6ec, #d7b3e3, #efb3d5, #f9bccc);
}.card {width: 190px;height: 254px;background: #07182E;position: relative;display: flex;place-content: center;place-items: center;overflow: hidden;border-radius: 20px;
}.card h3 {z-index: 1;color: white;font-size:  1em;
}.card::before {content: '';position: absolute;width: 100px;background-image: linear-gradient(180deg, rgb(0, 183, 255), rgb(255, 48, 255));height: 130%;animation: rotBGimg 3s linear infinite;transition: all 0.2s linear;
}@keyframes rotBGimg {from {transform: rotate(0deg);}to {transform: rotate(360deg);}
}.card::after {content: '';position: absolute;background: #07182E;;inset: 5px;border-radius: 15px;
}
html, body:
  • width: 100vw: 宽度设置为视口宽度的100%。
  • height: 100vh: 高度设置为视口高度的100%。
  • display: flex: 使用 Flexbox 布局。
  • justify-content: center: 水平居中。
  • align-items: center: 垂直居中。
  • margin: 0: 移除外边距。
  • overflow: hidden: 隐藏溢出的内容。
  • background: 设置背景颜色和渐变,从左上到右下的渐变色。
.card: 定义卡片的样式。
  • width: 190px: 宽度为190像素。
  • height: 254px: 高度为254像素。
  • background: #07182E: 背景颜色为深蓝色。
  • position: relative: 相对定位。
  • display: flex: 使用 Flexbox 布局。
  • place-content: center: 水平居中。
  • place-items: center: 垂直居中。
  • overflow: hidden: 隐藏溢出的内容。
  • border-radius: 20px: 圆角为20像素。
.card h3: 定义卡片内标题的样式。
  • z-index: 1: 堆叠顺序为1。
  • color: white: 文本颜色为白色。
  • font-size: 1em: 字体大小为1em。
.card::before: 背景动画。
  • content: “”: 伪元素的内容为空。
  • position: absolute: 绝对定位。
  • right: 0: 靠右对齐。
  • top: 0: 顶部对齐。
  • height: 7px: 高度为7像素。
  • width: 45px: 宽度为45像素。
  • border-radius: 4px: 圆角。
  • box-shadow: 创建多个阴影效果,模拟加载器的动画效
.card::after: 用于增加额外的样式效果。
  • content: ‘’: 伪元素的内容为空。
  • position: absolute: 绝对定位。
  • background: #07182E: 背景颜色为深蓝色。
  • inset: 5px: 内边距为5像素。
  • border-radius: 15px: 圆角为15像素。
动画
  • @keyframes rotBGimg: 定义名为 rotBGimg 的关键帧动画,用于旋转背景。from: 从0度开始,to: 旋转到360度。
http://www.dinnco.com/news/50532.html

相关文章:

  • 在相亲网站认识了一个做红酒生意的宁波seo在线优化方案公司
  • 网站运营托管seo营销
  • 广州网站建设排行最近发生的热点新闻
  • 餐馆网站怎么做游戏优化是什么意思
  • 怎么做舞曲网站进入百度app查看
  • 电子商城网站开发教程怎么查询搜索关键词
  • wordpress主题茶叶360优化大师官方下载
  • 谷歌广告投放东莞关键词seo
  • 医疗设备网站建设怎么做朝阳区seo搜索引擎优化怎么样
  • 湛江免费企业建站十大接单平台
  • 莆田做网站建设网络优化的三个方法
  • 怎么找做网站的外包公司爱站网影院
  • 建站快车管理alexa
  • 企业网站asp源码百度推广投诉中心
  • 做网站怎么接活百度提问在线回答问题
  • 国内电商网站html源码seo站长常用工具
  • 印刷报价下单网站开发国际军事形势最新消息
  • 做新房什么网站好友情链接页面
  • 北京各大网站推广服务公司最新nba排名
  • 电气网站模板直通车推广怎么收费
  • 来年做哪个网站致富线上广告推广
  • 湖南seo网站优化排名软件哪些最好
  • 岳阳网站建设 熊掌号合肥做网站公司哪家好
  • 建设一个网站需要做哪些事情如何提高网站排名seo
  • 企业网站建设大概费用正规seo排名公司
  • 深圳网站开发教程长沙官网seo技术
  • 网站横幅广告怎么做百度经验官方网站登录入口
  • 国外域名的网站怎么做竞价推广开户公司
  • 做网站的公司应该做收录嘛企业管理培训课程
  • 台州网站建站seo优化一般包括哪些内容