3 回答

TA貢獻(xiàn)1805條經(jīng)驗 獲得超9個贊
您可以在<script>標(biāo)簽之后添加以下內(nèi)容,這將創(chuàng)建自定義 CSS:
<style>
i.custom-button-previous:before {
content: "<<";
}
i.custom-button-next:before {
content: ">>";
}
</style>
這會將給定形狀的箭頭放在內(nèi)容中缺少箭頭的兩個位置

TA貢獻(xiàn)1872條經(jīng)驗 獲得超4個贊
在文檔中,我發(fā)現(xiàn)需要 bootstrap css 來運行這個選擇器。
我在上面提供的代碼中看不到引導(dǎo)程序?qū)?,它?yīng)該是這樣的:
導(dǎo)入 'bootstrap/dist/css/bootstrap.css';
請嘗試導(dǎo)入此內(nèi)容或更新問題。

TA貢獻(xiàn)1780條經(jīng)驗 獲得超5個贊
日期選擇器使用字形圖標(biāo)作為箭頭。你能檢查一下你的網(wǎng)站中是否導(dǎo)入了“glyphicons-halflings-regular.woff”文件,如果沒有包含在css下面
@font-face {
font-family: 'Glyphicons Halflings';
src: url('http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/fonts/glyphicons-halflings-regular.woff'), url('http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/fonts/glyphicons-halflings-regular.woff') format('woff');}
}
添加回答
舉報