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

Commit

Permalink
docs: updata style
Browse files Browse the repository at this point in the history
  • Loading branch information
xs10l3 committed Aug 12, 2024
1 parent d73eddc commit 8bc2c0f
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 4 deletions.
23 changes: 21 additions & 2 deletions docs/content/basic/demos/animation/discolorate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,25 @@ onMounted(async () => {
</script>

<template>
<button class=button @click="play">run</button>
<button class="button" @click="play">run</button>
<canvas ref="canvas" width="208" height="208"></canvas>
</template>
</template>

<style scoped>
.button {
color: #ecf0f1;
font-size: 17px;
background-color: #e67e22;
border: 1px solid #f39c12;
border-radius: 5px;
padding: 10px;
box-shadow: 0px 6px 0px #d35400;
transition: all 0.1s;
}
.button:active {
box-shadow: 0px 2px 0px #d35400;
position: relative;
top: 2px;
}
</style>
23 changes: 21 additions & 2 deletions docs/content/basic/demos/animation/fadeIn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,25 @@ onMounted(async () => {
</script>

<template>
<button class=button @click="play">run</button>
<button class="button" @click="play">run</button>
<canvas ref="canvas" width="208" height="208"></canvas>
</template>
</template>

<style scoped>
.button {
color: #ecf0f1;
font-size: 17px;
background-color: #e67e22;
border: 1px solid #f39c12;
border-radius: 5px;
padding: 10px;
box-shadow: 0px 6px 0px #d35400;
transition: all 0.1s;
}
.button:active {
box-shadow: 0px 2px 0px #d35400;
position: relative;
top: 2px;
}
</style>

0 comments on commit 8bc2c0f

Please sign in to comment.