📜  如何将放大镜添加到搜索框 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:50.703000             🧑  作者: Mango

代码示例1
input.hs-search-field__input {
    height: 50px;
    font-size: 14px;
    background-image: url(https://cdn2.hubspot.net/hubfs/4004166/bioticresearch_website_assets/images/search_icon.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 40px;
    background-color: #fff;
    border: 1px solid #000;
    box-shadow: none;
    -webkit-appearance: none;
}