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
<script setup lang="ts">
import { cn } from "@/utils/class-names";
import GridPattern from "./index.vue";
 
defineOptions({
  name: "GridPatternLinearGradient"
});
</script>
 
<template>
  <div
    class="absolute flex size-full items-center justify-center overflow-hidden bg-background p-20 md:shadow-xl"
  >
    <GridPattern
      :width="18"
      :height="18"
      :x="-1"
      :y="-1"
      :class="
        cn(
          '[mask-image:linear-gradient(to_bottom_right,white,transparent,transparent)]'
        )
      "
    />
  </div>
</template>