問題タブ [text-indent]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
css - 負のテキストのインデント、ホバー時の翻訳バグ (Firefox)
作成したシンプルなメニューで Firefox 固有のバグが発生しています
これは、リスト アイテムのオン ホバー効果を持つ ul-list であり、リスト アイテムはtransform:translateX(12px)
ホバー時に適用され、テキスト リンクには常に負のインデントが適用されます。この 2 つの組み合わせにより、Firefox 固有のバグが発生します。アニメーション中にホバーするとテキストが消え、負の値のために基本的に独自のパディングによって隠されているように見えます。
ここに JS Fiddle とコードがあります。-moz- css がありませんか?
https://jsfiddle.net/CultureInspired/9435v0vy/1/
CSS: