【#第一文档网# 导语】以下是®第一文档网的小编为您整理的《html5百度页面自编代码》,欢迎阅读!
百度搜索 *{ margin: 0; padding: 0; } .container{ width: 600px; height: 300px; border: 1px solid #95ffc8; /*margin: 120px auto 0;跟下面相同*/ margin-top: 120px; margin-left: auto; margin-right:auto; /*設置容器內容居中*/ text-align: center; } ul{ list-style: none; display: inline-block; margin-top: 6px; } ul li{ float:left; padding:5px; } a{ font-family: 新宋体; font-size: 18px; font-weight: 700; } div.search{ display:inline-block ; margin-top:20px ; } input:first-child{ width:500px; height: 25px; border: 1px solid #d8efff; outline: none; float:left; padding: 0 10px; box-sizing: border-box; } input:last-child{ width:80px; height: 25px; border: 0; background-color: #775eff; color:white; float:left; } .ban{ color: #775eff; text-align: center; padding:30px ; font-size: 13px; } 本文来源:https://www.dywdw.cn/769f0ba1d5d8d15abe23482fb4daa58da0111cee.html