前往
大廳
主題

火狐Firefox CSS樣式:搜尋列縮短為按鈕、圖示替換

—— | 2019-03-16 15:01:30 | 巴幣 0 | 人氣 198

不是自動縮短搜尋列,需手動調整,滑鼠移到網址列和搜尋列中間會出現雙向箭頭。
配合圖示按鈕加框樣式更好

數值自己改:min-width:35px !Important
不想要放大鏡就自行找圖示,可用Base64。
此樣式無法去除在搜尋引擎網站或支援網站會出現的綠色加號+。
/*搜尋列縮短為按鈕*/
#search-container {
min-width:35px !Important;
width:auto !Important;
}
#searchbar .searchbar-search-button { margin-left: -3px !important }

/*圖示替換*/
.searchbar-search-icon {
list-style-image: url("圖示網址")!important;
}

創作回應

更多創作