Fontello によって生成されたアイコン疑似クラスを less で拡張しようとしています。
これが機能している間:
.icon-extended:before:extend(.icon-caret-n:before) {}
これはしません:
ul.checked li:before:extend(.icon-ok:before) {color: #4fa33b;}
なぜわからないのですか?
このli:before
場合、 は からコンテンツ定義を取得します.icon-ok:before
が、一般的なスタイルは から取得しません[class^="icon-"]:before, [class*=" icon-"]:before
。
私にはバグのように見えますか?