| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <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;
- }
- @media (max-width: 1240px) {
- height: 12rem;
- }
- }
- </style>
|