Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Commit

Permalink
feat(transition): add transition to all elements
Browse files Browse the repository at this point in the history
  • Loading branch information
ming-tsai committed Jun 14, 2020
1 parent 3d8565d commit 77c677d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/assets/styles/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.icon {
vertical-align: middle
vertical-align: middle;
transition: all 1s ease-in-out;
}
1 change: 1 addition & 0 deletions src/components/commons/Footer/Footer.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.footer {
padding: 2rem !important;
transition: all 1s ease-in-out;
}
3 changes: 3 additions & 0 deletions src/components/commons/Header/Header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nav, section {
transition: all 1s ease-in-out;
}
1 change: 1 addition & 0 deletions src/components/commons/Header/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
</template>

<script lang="ts" src="./Header.ts"></script>
<style src="./Header.css" scoped></style>
4 changes: 4 additions & 0 deletions src/components/commons/Layout/Layout.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.hero-body {
align-items: flex-start !important;
}

.hero, section {
transition: all 1s ease-in-out;
}
2 changes: 1 addition & 1 deletion src/components/commons/Layout/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
</template>

<script lang="ts" src="./Layout.ts"></script>
<style src="./Layout.css" scoped></style>
<style src="./Layout.css"></style>

0 comments on commit 77c677d

Please sign in to comment.