| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <template>
- <div class="card">
- <p>
- {{ props.number }}
- </p>
- <p>
- {{ props.text }}
- </p>
- </div>
- </template>
- <script setup lang="ts">
- const props = defineProps({
- number: {
- type: String
- },
- text: {
- type: String
- },
- });
- </script>
- <style scoped lang="scss">
- .card {
- background: var(--on-primary-color-alt);
- color: var(--primary-color-alt);
- border-radius: 10px;
- width: 36rem;
- height: 15rem;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- text-align: center;
- p:first-child{
- font-weight: 600;
- font-size: 60px;
- line-height: 68px;
- text-align: center;
- margin-bottom: 0.5rem;
- }
- }
- </style>
|