animation

This commit is contained in:
Theophyl Hoguet committed 2023-03-12 02:11:56 +01:00
1 parent b3324e69bd
commit e4519f1bc8
1 file changed
+9 -2
+9 -2
View File
@@ -36,7 +36,14 @@ export default defineComponent({
})
</script>
<template>
<img :id="'img-' + id" />
<a :href="'./images/' + id" target="_blank">
<img :id="'img-' + id" />
</a>
</template>
<style></style>
<style scoped>
img:hover {
transform: scale(1.1);
transition: transform 0.5s;
}
</style>