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

常州做网站包括哪些上海网站搭建公司哪家好

常州做网站包括哪些,上海网站搭建公司哪家好,html电影网站模板下载工具,沭阳做网站好的在 Vue 开发中#xff0c;我们可以利用transition组件来打造各种令人惊艳的动画效果。下面来详细看看这些有趣的动画效果及其实现代码。 一、缩放类效果 zoom-in#xff08;整体放大进入#xff09; templatedivbutton clickisShow ! …在 Vue 开发中我们可以利用transition组件来打造各种令人惊艳的动画效果。下面来详细看看这些有趣的动画效果及其实现代码。 一、缩放类效果 zoom-in整体放大进入 templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition namezoom-inh1 v-showisShow你好啊/h1/transition/div /templatescript export default {name: Test,data() {return {isShow: true,};}, }; /scriptstyle scoped .zoom-in-enter-active {animation: zoomIn 0.5s ease; }keyframes zoomIn {from {transform: scale(0);}to {transform: scale(1);} } /stylezoom-in-left从左侧放大进入 templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition namezoom-in-lefth1 v-showisShow你好啊/h1/transition/div /templatescript export default {name: Test,data() {return {isShow: true,};}, }; /scriptstyle scoped .zoom-in-left-enter-active {animation: zoomInLeft 0.5s ease; }keyframes zoomInLeft {from {transform: scale(0) translateX(-100%);}to {transform: scale(1) translateX(0);} } /stylezoom-in-right从右侧放大进入 templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition namezoom-in-righth1 v-showisShow你好啊/h1/transition/div /templatescript export default {name: Test,data() {return {isShow: true,};}, }; /scriptstyle scoped .zoom-in-right-enter-active {animation: zoomInRight 0.5s ease; }keyframes zoomInRight {from {transform: scale(0) translateX(100%);}to {transform: scale(1) translateX(0);} } /stylezoom-in-top从顶部放大进入 templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition namezoom-in-toph1 v-showisShow你好啊/h1/transition/div /templatescript export default {name: Test,data() {return {isShow: true,};}, }; /scriptstyle scoped .zoom-in-top-enter-active {animation: zoomInTop 0.5s ease; }keyframes zoomInTop {from {transform: scale(0) translateY(-100%);}to {transform: scale(1) translateY(0);} } /stylezoom-in-bottom从底部放大进入 templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition namezoom-in-bottomh1 v-showisShow你好啊/h1/transition/div /templatescript export default {name: Test,data() {return {isShow: true,};}, }; /scriptstyle scoped .zoom-in-bottom-enter-active {animation: zoomInBottom 0.5s ease; }keyframes zoomInBottom {from {transform: scale(0) translateY(100%);}to {transform: scale(1) translateY(0);} } /stylezoom-in-center-x沿水平中心轴放大进入 templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition namezoom-in-center-xh1 v-showisShow你好啊/h1/transition/div /templatescript export default {name: Test,data() {return {isShow: true,};}, }; /scriptstyle scoped .zoom-in-center-x-enter-active {animation: zoomInCenterX 0.5s ease; }keyframes zoomInCenterX {from {transform: scaleX(0);}to {transform: scaleX(1);} } /stylezoom-in-center-y沿垂直中心轴放大进入 templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition namezoom-in-center-yh1 v-showisShow你好啊/h1/transition/div /templatescript export default {name: Test,data() {return {isShow: true,};}, }; /scriptstyle scoped .zoom-in-center-y-enter-active {animation: zoomInCenterY 0.5s ease; }keyframes zoomInCenterY {from {transform: scaleY(0);}to {transform: scaleY(1);} } /style二、滑动类效果 slide普通滑动 templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition nameslideh1 v-showisShow你好啊/h1/transition/div /templatescript export default {name: Test,data() {return {isShow: true,};}, }; /scriptstyle scoped .slide-enter-active {animation: slideIn 0.5s ease; }keyframes slideIn {from {transform: translateX(-100%);}to {transform: translateX(0);} } /styleslide-left向左滑动 templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition nameslide-lefth1 v-showisShow你好啊/h1/transition/div /templatescript export default {name: Test,data() {return {isShow: true,};}, }; /scriptstyle scoped .slide-left-enter-active {animation: slideLeftIn 0.5s ease; }keyframes slideLeftIn {from {transform: translateX(100%);}to {transform: translateX(0);} } /style向右滑动slide-right templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition nameslide-righth1 v-showisShow你好啊/h1/transition/div /templatescript export default {data() {return {isShow: false};} }; /scriptstyle scoped .slide-right-enter-active, .slide-right-leave-active {transition: all 0.5s ease; }.slide-right-enter, .slide-right-leave-to {transform: translateX(-100%); } /style向上滑动slide-top templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition nameslide-toph1 v-showisShow你好啊/h1/transition/div /templatescript export default {data() {return {isShow: false};} }; /scriptstyle scoped.slide-top-enter-active,.slide-top-leave-active {transition: all 0.5s ease;}.slide-top-enter,.slide-top-leave-to {transform: translateY(-100%);} /style向下滑动slide-bottom templatediv classslide-bottom-animation v-ifshowBottom向下滑动示例/div /templatescript export default {data() {return {showBottom: false};} }; /scriptstyle scoped.slide-bottom-enter-active,.slide-bottom-leave-active {transition: all 0.5s ease;}.slide-bottom-enter,.slide-bottom-leave-to {transform: translateY(100%);}/style三、淡入淡出效果 templatedivbutton clickisShow ! isShow显示/隐藏/buttontransition namefade-animationh1 v-showisShow你好啊/h1/transition/div /templatescript export default {data() {return {isShow: true};} }; /scriptstyle scoped .fade-animation-enter-active, .fade-animation-leave-active {transition: opacity 0.5s ease; }.fade-animation-enter, .fade-animation-leave-to {opacity: 0; } /style
http://www.hkea.cn/news/14554149/

相关文章:

  • php 网站开发架构住建网官网
  • 沧州做网站费用上海搜索引擎优化
  • 哈尔滨网站建设那家好360建筑网现在叫什么
  • 个人网站开发与设计摘要自己想建设一个网站
  • 网站地图的作用seo海外
  • 中国工程建设交易信息网站wap页面模板
  • 怎么做网站原型上海新媒体运营公司排名
  • 大连的网站制作公司太原百度关键词优化
  • 织梦网站源码医疗器械研发
  • 做网站 接单职业生涯规划大赛怎么准备
  • 温州开发网站公司wordpress分类链接打不开
  • 网站做5级分销合法吗wordpress零基础建站教程
  • seo 网站换程序wordpress做个人博客
  • 黑龙江华龙建设集团网站网站的关键词搜索怎么做
  • 设计产品网站推荐外贸行业建站
  • 用html是做班级简介网站个人简历网页制作教程
  • 南阳河南网站建设价格推广方式英语
  • 东莞桂城网站建设wordpress站点标题和副标题
  • 百度网站查反链餐饮公司网站模板下载
  • 创新的广州做网站网站开发注意事项
  • 网站虚拟主持创意产品设计图
  • 网站开发为什么采取ssh框架青岛网景互联网站建设公司
  • 188网站开发免费论坛创建
  • asp.net免费网站郑州建设企业网站找哪个公司
  • 产品类网站模板广州网站制作商
  • 网站建设 技术 哪些内容中国供求网
  • 网站宝搭建网站环境深圳北网站建设
  • 网站开发询价函wordpress自动同步
  • 校园二手交易网站开发途牛旅游网站建设方案
  • 简单网站建设教程在哪家网站可以买做服装的模具