Update README to use picture/source syntax to avoid deprecation (#9606)
This commit is contained in:
parent
0c2c179555
commit
ea5b11c371
1 changed files with 6 additions and 5 deletions
11
README.md
11
README.md
|
|
@ -1,9 +1,10 @@
|
|||
<p align="center">
|
||||
<a href="https://tailwindcss.com/#gh-light-mode-only" target="_blank">
|
||||
<img src="./.github/logo-light.svg" alt="Tailwind CSS" width="350" height="70">
|
||||
</a>
|
||||
<a href="https://tailwindcss.com/#gh-dark-mode-only" target="_blank">
|
||||
<img src="./.github/logo-dark.svg" alt="Tailwind CSS" width="350" height="70">
|
||||
<a href="https://tailwindcss.com" target="_blank">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="./.github/logo-dark.svg">
|
||||
<source media="(prefers-color-scheme: light)" srcset="./.github/logo-light.svg">
|
||||
<img alt="Tailwind CSS" src="./.github/logo-light.svg" width="350" height="70" style="max-width: 100%;">
|
||||
</picture>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue