搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

"background-color" property not rendering on dropdown option elements

  • 1 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 k8spitzer

more options

I'm using a webpage that involves selecting colors from a dropdown list. On this dropdown list, every element's color is displayed using a CSS "background-color" property. Using dev tools, I can see that this CSS value is making it through to the calculated CSS for this element. However, there is no background color displayed for any dropdown elements.

This is the page in question, but it may be locked behind an account: https://www1.flightrising.com/scrying/predict/33084110

Attached screenshot of list, and its CSS displayed in dev tools.

I'm using a webpage that involves selecting colors from a dropdown list. On this dropdown list, every element's color is displayed using a CSS "background-color" property. Using dev tools, I can see that this CSS value is making it through to the calculated CSS for this element. However, there is no background color displayed for any dropdown elements. This is the page in question, but it may be locked behind an account: https://www1.flightrising.com/scrying/predict/33084110 Attached screenshot of list, and its CSS displayed in dev tools.
附加的畫面擷圖

由 k8spitzer 於 修改

所有回覆 (1)

more options

[deleted this comment]

由 k8spitzer 於 修改