Overriding CSS background image styles - both images are loaded?

后端 未结 4 756
孤城傲影
孤城傲影 2021-01-11 13:40

If I have 2 CSS styles that assign background images to an element, and one style overrides the other. Will both images be downloaded by the browser or just the overriding o

4条回答
  •  清歌不尽
    2021-01-11 14:22

    Can you not do an experiment and view the web log files to see what is happening?

    Otherwise why not have a little PHP to select the appropriate style sheets depending on the device.

提交回复
热议问题