Basic design created
This commit is contained in:
23
app/Views/Components/ShadowedBox.vue
Normal file
23
app/Views/Components/ShadowedBox.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
style: { type: String},
|
||||
class: { type: String},
|
||||
})
|
||||
|
||||
console.log(props.style)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="shadowed-box" :style=props.style :class=props.class>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
.shadowed-box {
|
||||
box-shadow: 2px 2px 5px #c0c0c0;
|
||||
border-radius: 10px;
|
||||
padding: 10px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user