zhuguifei
2025-06-17 c1cc49dd93d38f51790558541d6835d1598ecccf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<script setup lang="ts">
import { cn } from "@/utils/class-names";
import GridPattern from "./index.vue";
 
defineOptions({
  name: "GridPatternDashed"
});
</script>
 
<template>
  <div
    class="absolute -z-10 flex size-full items-center justify-center overflow-hidden bg-background p-20 md:shadow-xl"
  >
    <GridPattern
      :width="20"
      :height="20"
      :x="-1"
      :y="-1"
      stroke-dasharray="4 2"
      :class="
        cn(
          '[mask-image:radial-gradient(260px_circle_at_top,white,transparent)]'
        )
      "
    />
  </div>
</template>