Can you force IE8 to recognize background-size: 100%?

前端 未结 1 1355
被撕碎了的回忆
被撕碎了的回忆 2021-01-16 09:30

I need background image sprites to resize according to the width of their container, without showing the whole sprite, and background-size:100% accomplishes this, like so:

1条回答
  •  囚心锁ツ
    2021-01-16 09:52

    Check out this!

    https://github.com/louisremi/background-size-polyfill

    As I found out it is easy to use!

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