<!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结合使用
-
用 vuetify-loader 提升 Vue 开发体验
不用 Vuetify 也可以用 vuetify-loader 哦
-
android toolbar setTitle 出现省略号
怎么配置都不行,后来我用了异步设置 ,在线程中设置title,完美解决了。
-
windows下安装emscripten
windows下安装emscripten需要python、git环境
-
blocked by cors policy about CORS-RFC1918,或者local
这个错误事chrome浏览器升级到94版本后出现的
-
chrome.webRequest redirect 的另一种写法data-URLs
chrome.webRequest redirect data-URLs
-
Android 11 adb无线调试使用方法
Android 11无线调试不需要再像以前一样,先插上usb线,输入命令来启用无线调试,再进行无线连接了。Android 11系统设置开发者选项中自带了无线调试,今天亲自测试了
-
react native开发遇到的问题一
接下来讲一下啊继承react navigation遇到的问题
-
react native开发遇到的问题二
集成react-nativ-webview,出现这样的错误"RNCWebView" was not found in the UIManager
-
/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found
canvas在centos上安装失败的解决办法
-
react native 集成高德地图 tagged-pointers 后退闪退
记录一次react native集成高德地图闪退的问题,一个小问题解决废了 老鼻子劲了,解决方案添加android:allowNativeHeapPointerTagging="false"