add BaseCard
This commit is contained in:
parent
f8bb31a120
commit
2254998f28
|
@ -0,0 +1,13 @@
|
||||||
|
<template>
|
||||||
|
<div class="card"><slot></slot></div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.card {
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
|
||||||
|
padding: 1rem;
|
||||||
|
margin: 2rem auto;
|
||||||
|
max-width: 40rem;
|
||||||
|
}
|
||||||
|
</style>
|
Reference in New Issue