JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="css/cssreset.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="wrap">
<form action="index.html">
<label for="name">姓名</label>
<input id="name" type="text" name="name">
<label for="email">信箱</label>
<input id="email" type="text" name="email">
<input type="submit" value="送出">
</form>
</div>
</body>
</html>
CSS
.wrap{
width: 1000px;
margin: 0 auto;
}
form{
margin-top: 20px;
margin-left:20px;
}