Created
May 9, 2023 17:29
-
-
Save spring-raining/7ad3439f7cda816b159393cb6bcb1176 to your computer and use it in GitHub Desktop.
Example of `update` media feature
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Example of update media featuretag</title> | |
| <style> | |
| @media (update: none) { | |
| .test { | |
| color: red; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div clas="test">This text should be red.</div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment