Skip to content

Commit 987bb20

Browse files
authored
Merge pull request tailwindlabs#1 from innocenzi/patch-1
docs: update aspect-ratio MDN link
2 parents fafb2fa + 63366c6 commit 987bb20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Use `aspect-none` to remove any aspect ratio behavior:
5151

5252
Note that due to the way this currently needs to be implemented ([the old padding-bottom trick](https://css-tricks.com/aspect-ratio-boxes/)) you need to assign the aspect ratio to a _parent_ element, and make the actual element you are trying to size the only child of that parent.
5353

54-
Once the [`aspect-ratio` property](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/aspect-ratio) is supported in modern browsers, we'll add official support to Tailwind CSS itself and deprecate this plugin.
54+
Once the [`aspect-ratio` property](https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio) is supported in modern browsers, we'll add official support to Tailwind CSS itself and deprecate this plugin.
5555

5656
Aspect ratio classes up to 16 are generated by default:
5757

@@ -93,4 +93,4 @@ module.exports = {
9393
aspectRatio: ['responsive', 'hover']
9494
}
9595
}
96-
```
96+
```

0 commit comments

Comments
 (0)