Gradient colors in Internet Explorer

前端 未结 11 651
青春惊慌失措
青春惊慌失措 2020-12-04 09:31

I know that Internet Explorer has some proprietary extensions so that you can do things like create divs with a gradient background. I can\'t remember the element name or i

11条回答
  •  有刺的猬
    2020-12-04 10:03

    Two things I discovered while struggling with IE 9 gradient.

    1. The -ms-filter did not work for me. I had to use simply filter.
    2. I had to add height: 100% to my class for IE to use the gradient.

提交回复
热议问题