<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<title>动画</title>
<script type="text/javascript" src="vue.js"></script>
<link rel="stylesheet" type="text/css" href="animate.css">
<style type="text/css">
p {
width: 300px;
height: 300px;
background: red;
margin: 10px auto;
}
</style>
<script type="text/javascript">
window.onload = function(){ var app = new Vue({
el:'#box',
data:{
show:false
}
})
} </script></head><body>
<div id="box">
<!-- 控制数据的值切换显示隐藏 -->
<button @click="show=!show">transition</button>
<!-- <transition enter-active-class="zoomInLeft" leave-active-class="zoomOutRight">
<p v-show="show" class="animated"></p>
</transition> -->
<!-- 第二种方法 -->
<!-- <transition enter-active-class="animated zoomInLeft" leave-active-class="animated zoomOutRight">
<p v-show="show"></p>
</transition> -->
<!-- 多元素运动 -->
<transition-group enter-active-class="zoomInLeft" leave-active-class="zoomOutRight">
<p v-show="show" class="animated" :key="1"></p>
<p v-show="show" class="animated" :key="2"></p>
</transition-group>
</div></body></html>vue过渡和animate.css结合使用
-
加快gradle的编译速度总结-亲身经历
这两题集成mob的maven,这个编译速度是慢的可怜啊,经过百度得出了这样一个方案,配置好以后那可是神速啊,妈妈再也不用担心我的编译速度看。嗷嗷的。
-
fragment调用Activity中的方法
我们有时候需要fragment 与activity进行互调方法,和变量,下面就让我们看看吧。
-
微信小程序的组件用法与传统HTML5标签的区别
小程序刚开放公测,互联网圈内开始了各种解读和猜测。其中有观点认为小程序和HTML5有着紧密关联,甚至小程序就是基于HTML5开发。 经过仔细研究文档和代码开发,从视图层的角度来说,小程序与传统HTML5还是有明显的区别,主要区别在于:
-
node.js实现图片裁剪+获取图片大小+加logo水印
Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Node.js Node.js轻量级跨平台图像编解码库
-
node.js实现图片裁剪+获取图片大小+加logo水印
Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Node.js Node.js轻量级跨平台图像编解码库
-
console.log打印buffer怎么转化为普通文字
用anyproxy然后得出的response,console出buffer怎么办?
-
linux定时任务crontab注意事项
今天搞了将近两个小时的laravel定时任务,甚是恶心啊,原来错在,全路径php的元原因
-
CentOS 7.0 配置防火墙
后来发现centos7的防火墙设置跟centos6是有很大不同的。
-
Your project contains C++ files but it is not using a supported native build system.
Your project contains C++ files but it is not using a supported native build system.
-
android-studio-please-select-android-sdk
重新打开android Studio工程,点击运行按钮,出现,please-select-android-sdk这样的提示