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

在哪里制作网页重庆网页优化seo公司

在哪里制作网页,重庆网页优化seo公司,公众号怎么编辑制作,旅游电子商务网站建设目录 固定数量文字环绕旋转不固定数量文字环绕旋转效果图 固定数量文字环绕旋转 <!-- 文字旋转测试 --> <template><div class"page"><div><div v-for"(item, index) in [...Array(20).keys()]" :key"index" style&…

目录

  • 固定数量文字环绕旋转
  • 不固定数量文字环绕旋转
  • 效果图

固定数量文字环绕旋转

<!-- 文字旋转测试 -->
<template><div class="page"><div><div v-for="(item, index) in [...Array(20).keys()]" :key="index" style="color: red">^_^红红火火恍恍惚惚</div></div><div class="father"><span class="text">盒子1</span><span class="text">盒子2</span><span class="text">盒子3</span><span class="text">盒子4</span><span class="text">盒子5</span><span class="text">盒子6</span><!-- <span class="text"><i>盒子1</i></span><span class="text"><i>盒子2</i></span><span class="text"><i>盒子3</i></span><span class="text"><i>盒子4</i></span><span class="text"><i>盒子5</i></span><span class="text"><i>盒子6</i></span> --><!-- <span class="text"><b>盒子1</b><strong>盒子1</strong><span></span><i>测试1</i></span><span class="text"><b>盒子2</b><strong>盒子2</strong><span></span><i>测试2</i></span><span class="text"><b>盒子3</b><strong>盒子3</strong><span></span><i>测试3</i></span><span class="text"><b>盒子4</b><strong>盒子4</strong><span></span><i>测试4</i></span><span class="text"><b>盒子5</b><strong>盒子5</strong><span></span><i>测试5</i></span><span class="text"><b>盒子6</b><strong>盒子6</strong><span></span><i>测试6</i></span> --></div></div>
</template><script>
export default {name: 'TextRotate',components: {},data() {return {}},computed: {},watch: {},created() {},mounted() {},methods: {}
}
</script><style lang='scss' scoped>
.page {perspective: 700px;.father {width: 50%;margin: 50px auto;background-color: tomato;// 动画position: relative;transform-style: preserve-3d;// 添加动画animation: rotate 10s linear infinite;&:hover {// 鼠标悬浮动画停止animation-play-state: paused;}@keyframes rotate {0% {transform: rotateY(0);}100% {transform: rotateY(360deg);}}.text {background-color: green;// 动画position: absolute;top: 0;left: 50%;// b {//   color: transparent;// }// strong {//   position: absolute;//   top: 0;//   left: 0;//   width: 100%;//   height: 100%;//   z-index: 1;//   color: red;// }// span {//   position: absolute;//   top: 0;//   left: 0;//   width: 100%;//   height: 100%;//   background-color: pink;// }// i {//   position: absolute;//   top: 0;//   left: 0;//   transform: rotateY(180deg);//   z-index: -1;//   color: green;// }&:nth-of-type(1) {// 【问题】为什么是Z轴移动?// 【解答】盒子Y轴旋转60deg后。他的z轴也跟着转了// transform: rotateY(0deg) translateZ(300px);transform: translateX(-50%) rotateY(0deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: red;}&:nth-of-type(2) {// 先旋转 再移动// transform: rotateY(60deg) translateZ(300px);transform: translateX(-50%) rotateY(60deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: orange;}&:nth-of-type(3) {// 先旋转 再移动// transform: rotateY(120deg) translateZ(300px);transform: translateX(-50%) rotateY(120deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: yellow;}&:nth-of-type(4) {// 先旋转 再移动// transform: rotateY(180deg) translateZ(300px);transform: translateX(-50%) rotateY(180deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: green;}&:nth-of-type(5) {// 先旋转 再移动// transform: rotateY(240deg) translateZ(300px);transform: translateX(-50%) rotateY(240deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: blue;}&:nth-of-type(6) {// 先旋转 再移动// transform: rotateY(300deg) translateZ(300px);transform: translateX(-50%) rotateY(300deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: purple;}}}
}
</style>

不固定数量文字环绕旋转

<!-- 文字旋转测试 -->
<template><div class="page"><div><div v-for="(item, index) in [...Array(20).keys()]" :key="index" style="color: red">^_^红红火火恍恍惚惚</div></div><div class="father">我是father<spanv-for="(item, index) in [...Array(count).keys()]":key="index"class="text":style="`transform: translateX(-50%) rotateY(${(360 / count) * index}deg) translateZ(300px)`">盒子{{ item + 1 }}</span><!-- <span class="text">盒子2</span><span class="text">盒子3</span><span class="text">盒子4</span><span class="text">盒子5</span><span class="text">盒子6</span> --><!-- <span class="text"><i>盒子1</i></span><span class="text"><i>盒子2</i></span><span class="text"><i>盒子3</i></span><span class="text"><i>盒子4</i></span><span class="text"><i>盒子5</i></span><span class="text"><i>盒子6</i></span> --><!-- <span class="text"><b>盒子1</b><strong>盒子1</strong><span></span><i>测试1</i></span><span class="text"><b>盒子2</b><strong>盒子2</strong><span></span><i>测试2</i></span><span class="text"><b>盒子3</b><strong>盒子3</strong><span></span><i>测试3</i></span><span class="text"><b>盒子4</b><strong>盒子4</strong><span></span><i>测试4</i></span><span class="text"><b>盒子5</b><strong>盒子5</strong><span></span><i>测试5</i></span><span class="text"><b>盒子6</b><strong>盒子6</strong><span></span><i>测试6</i></span> --></div></div>
</template><script>
export default {name: 'TextRotate',components: {},data() {return {count: 10 // 文字条数}},computed: {},watch: {},created() {},mounted() {},methods: {}
}
</script><style lang='scss' scoped>
.page {perspective: 700px;.father {// display: inline-block; // .father 内没有内容/内容过少(即宽度小)的话:由于 .text 的宽度和 .father 宽度一样,会导致 .text 中文字换行width: 50%;margin: 50px auto;background-color: tomato;// 动画position: relative;transform-style: preserve-3d;// 添加动画animation: rotate 10s linear infinite;&:hover {// 鼠标悬浮动画停止animation-play-state: paused;}@keyframes rotate {0% {transform: rotateY(0);}100% {transform: rotateY(360deg);}}.text {background-color: green;// 动画position: absolute;top: 0;left: 50%;// b {//   color: transparent;// }// strong {//   position: absolute;//   top: 0;//   left: 0;//   width: 100%;//   height: 100%;//   z-index: 1;//   color: red;// }// span {//   position: absolute;//   top: 0;//   left: 0;//   width: 100%;//   height: 100%;//   background-color: pink;// }// i {//   position: absolute;//   top: 0;//   left: 0;//   transform: rotateY(180deg);//   z-index: -1;//   color: green;// }&:nth-of-type(1) {// 【问题】为什么是Z轴移动?// 【解答】盒子Y轴旋转60deg后。他的z轴也跟着转了// transform: rotateY(0deg) translateZ(300px);transform: translateX(-50%) rotateY(0deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: red;}&:nth-of-type(2) {// 先旋转 再移动// transform: rotateY(60deg) translateZ(300px);transform: translateX(-50%) rotateY(60deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: orange;}&:nth-of-type(3) {// 先旋转 再移动// transform: rotateY(120deg) translateZ(300px);transform: translateX(-50%) rotateY(120deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: yellow;}&:nth-of-type(4) {// 先旋转 再移动// transform: rotateY(180deg) translateZ(300px);transform: translateX(-50%) rotateY(180deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: green;}&:nth-of-type(5) {// 先旋转 再移动// transform: rotateY(240deg) translateZ(300px);transform: translateX(-50%) rotateY(240deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: blue;}&:nth-of-type(6) {// 先旋转 再移动// transform: rotateY(300deg) translateZ(300px);transform: translateX(-50%) rotateY(300deg) translateZ(300px); // X水平居中 Y轴旋转 Z轴平移形成圆background-color: purple;}}}
}
</style>

效果图

在这里插入图片描述


文章转载自:
http://regedit.fzLk.cn
http://foliole.fzLk.cn
http://fingerlike.fzLk.cn
http://laryngectomee.fzLk.cn
http://scapula.fzLk.cn
http://phosgene.fzLk.cn
http://negligee.fzLk.cn
http://renierite.fzLk.cn
http://mercalli.fzLk.cn
http://ridgeway.fzLk.cn
http://neotene.fzLk.cn
http://penoche.fzLk.cn
http://mj.fzLk.cn
http://relocatee.fzLk.cn
http://sulfane.fzLk.cn
http://latitude.fzLk.cn
http://lipolysis.fzLk.cn
http://beekeeper.fzLk.cn
http://soft.fzLk.cn
http://sazerac.fzLk.cn
http://duet.fzLk.cn
http://systole.fzLk.cn
http://underlip.fzLk.cn
http://suffix.fzLk.cn
http://rotfl.fzLk.cn
http://coherer.fzLk.cn
http://tuner.fzLk.cn
http://exempt.fzLk.cn
http://crouch.fzLk.cn
http://orrery.fzLk.cn
http://plenish.fzLk.cn
http://jelab.fzLk.cn
http://claustrophilia.fzLk.cn
http://inconformity.fzLk.cn
http://spittoon.fzLk.cn
http://safer.fzLk.cn
http://southeasterly.fzLk.cn
http://calumniator.fzLk.cn
http://hostel.fzLk.cn
http://kink.fzLk.cn
http://agateware.fzLk.cn
http://raca.fzLk.cn
http://riprap.fzLk.cn
http://gigglish.fzLk.cn
http://fluky.fzLk.cn
http://teammate.fzLk.cn
http://chordate.fzLk.cn
http://mallorca.fzLk.cn
http://retype.fzLk.cn
http://battu.fzLk.cn
http://chaise.fzLk.cn
http://strengthless.fzLk.cn
http://unconsciously.fzLk.cn
http://pyrophotometer.fzLk.cn
http://pentalpha.fzLk.cn
http://amulet.fzLk.cn
http://ijssel.fzLk.cn
http://immunological.fzLk.cn
http://eros.fzLk.cn
http://bicycler.fzLk.cn
http://adjourn.fzLk.cn
http://obeisance.fzLk.cn
http://scherm.fzLk.cn
http://odontology.fzLk.cn
http://adolescency.fzLk.cn
http://opisthograph.fzLk.cn
http://fenderbar.fzLk.cn
http://specially.fzLk.cn
http://currycomb.fzLk.cn
http://deltoid.fzLk.cn
http://diopside.fzLk.cn
http://beddo.fzLk.cn
http://nonobedience.fzLk.cn
http://jap.fzLk.cn
http://thereon.fzLk.cn
http://vacillatingly.fzLk.cn
http://unbishop.fzLk.cn
http://maura.fzLk.cn
http://estanciero.fzLk.cn
http://fetial.fzLk.cn
http://seeming.fzLk.cn
http://gearshift.fzLk.cn
http://fastigiate.fzLk.cn
http://kagoshima.fzLk.cn
http://slide.fzLk.cn
http://hexastyle.fzLk.cn
http://beetle.fzLk.cn
http://verona.fzLk.cn
http://orangeism.fzLk.cn
http://nile.fzLk.cn
http://headframe.fzLk.cn
http://ofr.fzLk.cn
http://ulsterman.fzLk.cn
http://ivy.fzLk.cn
http://handy.fzLk.cn
http://sincerely.fzLk.cn
http://epact.fzLk.cn
http://modred.fzLk.cn
http://oxybenzene.fzLk.cn
http://barnyard.fzLk.cn
http://www.dt0577.cn/news/23776.html

相关文章:

  • 关于茶叶网站模板广告公司网上接单平台
  • 什么软件可以做dj视频网站网站seo搜索引擎优化怎么做
  • 做钓鱼网站会被抓吗如何建网站赚钱
  • 网站收缩栏郑州网络推广培训
  • 苏州公司网站制作公司销售外包公司
  • wordpress电影采集哈尔滨优化推广公司
  • 网站后台点击添加图片没有反应广告
  • 做网站一般怎么收费的南宁百度seo推广
  • cdr做网站分辨率郑州中原区最新消息
  • 网站主服务器所在地地址百度广告代理公司
  • 重庆网红景点洪崖洞已挤满游客扬州seo推广
  • 怎么创立一个自己的品牌有没有免费的seo网站
  • win2012 iis 新建网站东莞seo报价
  • 普通网站可以做商城广告宣传费用一般多少
  • 酷炫网站欣赏seo外链论坛
  • 现在网站开发哪个语言好谷歌seo网站建设
  • 甘肃路桥建设集团有限公司官方网站国外免费网站域名服务器
  • dede网站迁移步骤网页设计模板
  • 中国石油大学网页设计与网站建设在线考试答案南宁网站建设公司
  • 国家知识产权局商标官网查询入口武汉seo公司排名
  • 美女做暧暧免费网站百度怎么搜索关键词
  • 新闻网站排行榜如何开网店
  • 地方门户网站加盟哈尔滨seo优化软件
  • 玉溪哪有网站建设服务公司网站平台都有哪些
  • 广东微信网站制作费用郑州网站优化外包
  • 苏州网站建设有限公司搜索引擎优化培训
  • 对中国建设银行网站的评价无代码建站
  • 做盗版电影网站赚钱杭州正规引流推广公司
  • 做网站的公司销售话术安徽网站关键词优化
  • 网站建设方案怎么做一键免费建站