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 w3-card-4 w3-light-grey">

<h2>Bordered Input</h2>
<p>Add the w3-border class to create bordered inputs.</p>

<p>
<label>First Name</label>
<input class="w3-input w3-border" name="first" type="text"></p>

<p>
<label>Last Name</label>
<input class="w3-input w3-border" name="last" type="text"></p>

</form>

</body>
</html>


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