gpt4 book ai didi

html - 如何将 Font Awesome 图标转换为输入类型文本

转载 作者:行者123 更新时间:2023-11-28 01:02:16 25 4
gpt4 key购买 nike

<分区>

我正在尝试将 Font Awesome 图标转换为文本输入类型。

但是可以得到想法并且它不工作。

如下图所示

enter image description here

.search_location{
padding: 9px 10px 8px 10px;
background: #fff;
color: #777777;
position: relative;
}
i.icon-map-marker
{
position: absolute;
top: 10px;
left: 50px;
}
<p>
<input type="text" class="search_location" value="Choose Location">
<i class="icon-map-marker"></i>
</p>

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com