state-dependent-in-any-ref.html 181 B

123456789101112
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style>
  5. span { color: green; }
  6. </style>
  7. </head>
  8. <body>
  9. <input value="Test"><span>This should be green</span>
  10. </body>
  11. </html>