Skip to content

Fix #2091: Correct URL syntax in background-repeat docs #2093

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/docs/background-repeat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Use the `bg-repeat` utility to repeat the background image both vertically and h

```html
<!-- [!code classes:bg-repeat] -->
<div class="bg-[url(/img/clouds.svg')] bg-center bg-repeat ..."></div>
<div class="bg-[url(/img/clouds.svg)] bg-center bg-repeat ..."></div>
```

</Figure>
Expand All @@ -48,7 +48,7 @@ Use the `bg-repeat-x` utility to only repeat the background image horizontally:

```html
<!-- [!code classes:bg-repeat-x] -->
<div class="bg-[url(/img/clouds.svg')] bg-center bg-repeat-x ..."></div>
<div class="bg-[url(/img/clouds.svg)] bg-center bg-repeat-x ..."></div>
```

</Figure>
Expand All @@ -65,7 +65,7 @@ Use the `bg-repeat-y` utility to only repeat the background image vertically:

```html
<!-- [!code classes:bg-repeat-y] -->
<div class="bg-[url(/img/clouds.svg')] bg-center bg-repeat-y ..."></div>
<div class="bg-[url(/img/clouds.svg)] bg-center bg-repeat-y ..."></div>
```

</Figure>
Expand All @@ -82,7 +82,7 @@ Use the `bg-repeat-space` utility to repeat the background image without clippin

```html
<!-- [!code classes:bg-repeat-space] -->
<div class="bg-[url(/img/clouds.svg')] bg-center bg-repeat-space ..."></div>
<div class="bg-[url(/img/clouds.svg)] bg-center bg-repeat-space ..."></div>
```

</Figure>
Expand All @@ -99,7 +99,7 @@ Use the `bg-repeat-round` utility to repeat the background image without clippin

```html
<!-- [!code classes:bg-repeat-round] -->
<div class="bg-[url(/img/clouds.svg')] bg-center bg-repeat-round ..."></div>
<div class="bg-[url(/img/clouds.svg)] bg-center bg-repeat-round ..."></div>
```

</Figure>
Expand All @@ -116,7 +116,7 @@ Use the `bg-no-repeat` utility to prevent a background image from repeating:

```html
<!-- [!code classes:bg-no-repeat] -->
<div class="bg-[url(/img/clouds.svg')] bg-center bg-no-repeat ..."></div>
<div class="bg-[url(/img/clouds.svg)] bg-center bg-no-repeat ..."></div>
```

</Figure>
Expand Down