JSFiddle - React, Tailwind, and code Playground

by techiedelight

HTML

<html>
  <body>
    <form>
      <label for="name">Enter a value:</label>
      <input type="text" id="name">
    </form>
  </body>
  <script>
    document.getElementById("name").setAttribute('size', '20');
  </script>
</html>

CSS

label {
  font: 15px 'Exo 2', sans-serif;
}

input {
  margin: 6px;
}