Issues with “background-position” in “background” shorthand property

后端 未结 1 1598
借酒劲吻你
借酒劲吻你 2020-12-04 03:24

I was attempting to use the background shorthand property to specify background-size, background-repeat, and background-color

相关标签:
1条回答
  • 2020-12-04 03:51

    As stated in the documentation of the background property, background-size cannot be set alone and it should be used with background-position. Also inherit and initial aren't valid values for those properties.

    0 讨论(0)
提交回复
热议问题