@@ -36,9 +36,10 @@ Use the `mask-repeat` utility to repeat the mask image both vertically and horiz
36
36
}
37
37
</Example >
38
38
39
+ { /* prettier-ignore */ }
39
40
``` html
40
41
<!-- [!code classes:mask-repeat] -->
41
- <div class =" mask-[url(/img/circle.png)] mask-size-[50px_50px] mask-repeat ..." ></div >
42
+ <div class =" mask-repeat mask- [url(/img/circle.png)] mask-size-[50px_50px] bg-[url(/img/mountains.jpg)] ..." ></div >
42
43
```
43
44
44
45
</Figure >
@@ -59,9 +60,10 @@ Use the `mask-repeat-x` utility to only repeat the mask image horizontally:
59
60
}
60
61
</Example >
61
62
63
+ { /* prettier-ignore */ }
62
64
``` html
63
65
<!-- [!code classes:mask-repeat-x] -->
64
- <div class =" mask-[url(/img/circle.png)] mask-size-[50px_50px] mask-repeat-x ..." ></div >
66
+ <div class =" mask-repeat-x mask- [url(/img/circle.png)] mask-size-[50px_50px] bg-[url(/img/mountains.jpg)] ..." ></div >
65
67
```
66
68
67
69
</Figure >
@@ -82,9 +84,10 @@ Use the `mask-repeat-y` utility to only repeat the mask image vertically:
82
84
}
83
85
</Example >
84
86
87
+ { /* prettier-ignore */ }
85
88
``` html
86
89
<!-- [!code classes:mask-repeat-y] -->
87
- <div class =" mask-[url(/img/circle.png)] mask-size-[50px_50px] mask-repeat-y ..." ></div >
90
+ <div class =" mask-repeat-y mask- [url(/img/circle.png)] mask-size-[50px_50px] bg-[url(/img/mountains.jpg)] ..." ></div >
88
91
```
89
92
90
93
</Figure >
@@ -105,9 +108,10 @@ Use the `mask-repeat-space` utility to repeat the mask image without clipping:
105
108
}
106
109
</Example >
107
110
111
+ { /* prettier-ignore */ }
108
112
``` html
109
113
<!-- [!code classes:mask-repeat-space] -->
110
- <div class =" mask-[url(/img/circle.png)] mask-size-[50px_50px] mask-repeat-space ..." ></div >
114
+ <div class =" mask-repeat-space mask- [url(/img/circle.png)] mask-size-[50px_50px] bg-[url(/img/mountains.jpg)] ..." ></div >
111
115
```
112
116
113
117
</Figure >
@@ -128,9 +132,10 @@ Use the `mask-repeat-round` utility to repeat the mask image without clipping, s
128
132
}
129
133
</Example >
130
134
135
+ { /* prettier-ignore */ }
131
136
``` html
132
137
<!-- [!code classes:mask-repeat-round] -->
133
- <div class =" mask-[url(/img/circle.png)] mask-size-[50px_50px] mask-repeat-round ..." ></div >
138
+ <div class =" mask-repeat-round mask- [url(/img/circle.png)] mask-size-[50px_50px] bg-[url(/img/mountains.jpg)] ..." ></div >
134
139
```
135
140
136
141
</Figure >
@@ -151,9 +156,10 @@ Use the `mask-no-repeat` utility to prevent a mask image from repeating:
151
156
}
152
157
</Example >
153
158
159
+ { /* prettier-ignore */ }
154
160
``` html
155
161
<!-- [!code classes:mask-no-repeat] -->
156
- <div class =" mask-[url(/img/circle.png)] mask-size-[50px_50px] mask-no-repeat ..." ></div >
162
+ <div class =" mask-no-repeat mask- [url(/img/circle.png)] mask-size-[50px_50px] bg-[url(/img/mountains.jpg)] ..." ></div >
157
163
```
158
164
159
165
</Figure >
0 commit comments