first init

This commit is contained in:
2024-06-10 22:33:59 +09:00
commit 02a2375e5d
7 changed files with 134 additions and 0 deletions

BIN
src/assets/cat-img.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

8
src/js/my-comp.js Normal file
View File

@ -0,0 +1,8 @@
import { ref } from 'vue'
export default {
setup() {
const count = ref(0)
return { count }
},
template: `<div>Count is: {{ count }}</div>`
}

45
src/style.css Normal file
View File

@ -0,0 +1,45 @@
.card{
width: 250px;
height: 350px;
border:1px solid black;
border-radius: 5px;
align-items: center;
}
.card-img {
height: 250px;
width: 250px;
position: relative;
}
img {
width: 100%;
height: 100%;
}
.card-fullname {
width: 100%;
height: 50px;
align-items: center;
display: inline-flex;
}
.card-fullname div {
font-size: larger;
font-weight:bold;
width: 100%;
text-align: center;
}
.card-age {
align-items: center;
width: 100%;
display: flex;
position: relative;
}
.card-age span {
width: 100%;
text-align: center;
font-size: small;
font-weight: 100;
}