Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohuan committed Mar 17, 2017
1 parent 13059d2 commit 0e434e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
13 changes: 1 addition & 12 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,7 @@ export default {
</script>

<style lang="less" rel="stylesheet/less">
.fade-enter-active {
transition: opacity 0.2s
}
.fade-leave-active {
transition: opacity 0.2s
}
.fade-enter-active {
opacity: 0
}
.fade-leave-active {
opacity: 0
}
*{
margin: 0;
padding: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/components/moving.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
margin-top: 20px;
h1 {
display: inline-block;
width: 120px;
width: 126px;
font-size: 20px;
color: #000;
}
Expand Down
7 changes: 4 additions & 3 deletions style/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,12 @@ samp {
}*/
/*动画 fade,bounce*/
.fade-enter-active, .fade-leave-active {
transition: opacity .5s
transition: opacity .2s
}
.fade-enter, .fade-leave-active {
.fade-enter-active, .fade-leave-active {
opacity: 0
}
}

.bounce-enter-active {
animation: bounce-in .5s;
}
Expand Down

0 comments on commit 0e434e3

Please sign in to comment.