图上为效果图
以下为代码
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
#box>div{
border: 1px solid red;
margin: 10px;
padding: 10px;
}
</style>
</head>
<body>
<div id="box">
<div class="d1">
<input type="text" placeholder="文本框">
<input type="password" placeholder="密码框">
<input type="color">
<input type="date">
<input type="datetime-local">
<input