Open zhengwei1949 opened 5 years ago
<div class="search"> <input type="text"> <input type="button" value="搜索"> </div>
.search{ position: relative; padding:10px; input[type="text"]{ height:30px; border:1px solid #069; } input[type="button"]{ border:1px solid #069; background-color: #069; color: #fff; position: absolute; right:10px; top:10px; height: 30px; border-radius: 0; } }