.search-input{ position: relative; padding:13rem / $pxConvertRem 20rem / $pxConvertRem; input{ display: block; width: 547rem / $pxConvertRem; height: 60rem / $pxConvertRem; line-height: 60rem / $pxConvertRem; border: none; padding: 0 0 0 53rem / $pxConvertRem; margin: 0; outline: none; font-family: helvetica,Arial,"黑体"; border-radius: 50rem / $pxConvertRem; font-size: 30rem / $pxConvertRem; } .search-icon{ position: absolute; top: 0; bottom: 0; color: #999; line-height: 86rem / $pxConvertRem; left: 43rem / $pxConvertRem; } }