adding animation CSS file
This commit is contained in:
parent
4a414acf32
commit
072d6a7e73
12
src/resources/css/animations.css
Normal file
12
src/resources/css/animations.css
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
/** https://thinkdobecreate.com/articles/css-animating-newly-added-element/ **/
|
||||||
|
|
||||||
|
.anim-show {
|
||||||
|
animation: show 600ms 100ms cubic-bezier(0.38, 0.97, 0.56, 0.76) forwards;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes show {
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
}
|
@ -2,6 +2,7 @@
|
|||||||
@import 'tailwindcss/components';
|
@import 'tailwindcss/components';
|
||||||
@import 'tailwindcss/utilities';
|
@import 'tailwindcss/utilities';
|
||||||
|
|
||||||
|
@import 'animations.css';
|
||||||
@import 'typography.css';
|
@import 'typography.css';
|
||||||
|
|
||||||
@import 'components/buttons.css';
|
@import 'components/buttons.css';
|
||||||
@ -9,6 +10,7 @@
|
|||||||
@import 'components/tables.css';
|
@import 'components/tables.css';
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
min-height: 100vh;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
scrollbar-gutter: stable both-edges;
|
scrollbar-gutter: stable both-edges;
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from 'vue'
|
import { computed, useSlots } from 'vue'
|
||||||
|
|
||||||
defineEmits([])
|
|
||||||
|
|
||||||
const attrs = useAttrs()
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
class: {
|
class: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user