<!DOCTYPE html>
<html>
  <head>
    <style>
      span { color: green; }
    </style>
  </head>
  <body>
    <input value="Test"><span>This should be green</span>
  </body>
</html>