Edit This Code:
<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../lib/w3.css">
<body>

<form class="w3-container">
  <h2>Hoverable Inputs</h2>
  <p>Move the mouse over the input fields:</p>

  <p><input class="w3-input w3-hover-green" type="text"></p>
  <p><input class="w3-input w3-border w3-hover-red" type="text"></p>
  <p><input class="w3-input w3-border w3-hover-blue" type="text"></p>
</form>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy