不知道为什么你的小提琴是不是节约所以这里是我想出了一个解决方案。
CSS:
.btn-search {
width: 93px;
height: 49px;
background-image: -moz-linear-gradient(bottom, #659900 -25%, #65ff00 125%);
/* gradient overlay */
background-image: -o-linear-gradient(bottom, #659900 -25%, #65ff00 125%);
/* gradient overlay */
background-image: -webkit-linear-gradient(bottom, #659900 -25%, #65ff00 125%);
/* gradient overlay */
background-image: linear-gradient(bottom, #659900 -25%, #65ff00 125%);
/* gradient overlay */
margin-bottom:2.5px;
}
.textbox {
width: 540px;
height: 50px;
border: 1px solid #cbcbcb;
/* stroke */
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, .24);
/* drop shadow */
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .24);
/* drop shadow */
box-shadow: 0 0 10px rgba(0, 0, 0, .24);
/* drop shadow */
position:absolute;
}
#search-row div {
display: inline-block;
}
.col-centered-search {
width: 540px;
float: none !important;
margin: 0 auto !important;
}
.glyphicon-search {
postion: absolute;
margin-left: -25px;
margin-top: 15px;
}
HTML: