以下是一个基本的上海订餐短信网站模板,你可以根据自己的需要进行修改和自定义:
```
HTML:
t
上海订餐短信网站模板t
t
t
t
tt
上海订餐短信网站模板
tt
t```
CSS:
```
body {
tbackground-color: #f2f2f2;
tfont-family: Arial, sans-serif;
tmargin: 0;
tpadding: 0;
}
.container {
tmax-width: 500px;
tmargin: auto;
tpadding: 20px;
tbackground-color: #fff;
tborder-radius: 5px;
tbox-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
h1 {
ttext-align: center;
tmargin-bottom: 20px;
}
form {
tdisplay: flex;
tflex-direction: column;
}
label {
tmargin-bottom: 10px;
}
input[type="text"],
input[type="tel"],
input[type="email"] {
tpadding: 10px;
tmargin-bottom: 10px;
tborder-radius: 5px;
tborder: 1px solid #ccc;
tbox-sizing: border-box;
}
input[type="submit"] {
tbackground-color: #4CAF50;
tcolor: #fff;
tpadding: 10px 20px;
tborder: none;
tborder-radius: 5px;
tcursor: pointer;
}
```
这个模板包括了一个包含标题、个人信息和订餐信息的表单。你可以根据需要添加其他表单元素,如订单确认、付款信息和用户评价等。