实例代码
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
input[type=text]{
width:400px;
padding:12px;
border-radius:10px;
background-color:yellow;
color:black;
}
</style>
</head>
<body>
<p>全宽的输入字段</p>
<form>
<table for="fsname">First Name</table>
<input name="fsname" type="text" placeholder="You first name"></input>
</form>
</body>
</html>
运行效果
评论