模仿按钮如下:(模仿的是w3school http://www.w3school.com.cn/cssref/selector_nth-child.asp)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
a {
text-decoration: none;
}
.search_btn {
display: inline-block;
padding: 0 40px;
text-align: center;
color: #FFF;
background-color: rgb(233,104,107);
height: 42px;
margin-right: 10px;
border: none;
font-size: 14px;
line-height: 42px;
border-radius: 5px;
vertical-align: middle;
font-family: 微软雅黑;
transition: 0.2s ease-out;
}
.search_btn:hover {
background-color: #ba3537;
}
</style>
</head>
<body>
<a href="http://www.baidu.com" class="search_btn">搜索</a>
</body>
</html>
效果: