我想在搜索欄的佔位符內包含字體 - 真棒搜索圖標,但我無法找到解決方案或將其自己弄清楚。在HAML視圖中包含字體 - 真棒圖標
到目前爲止我的代碼看起來是這樣的:
.container.search-customer-container
%input {class: 'form-control customer-search-bar fa fa-search', placeholder: "What are you looking for?"}
%i.fa-search
我的寶石文件:寶石「字體真棒 - 薩斯」,「〜> 4.5」
我已經嘗試了一些不同的東西,但我是HAML的新手,並且掙扎了一下。
感謝您提前給予任何幫助。
什麼是你的日誌信息? – Emu