This article shared what IE8 is not compatible with RGBA (). Xiaobian feels quite practical, so share it with you to do a reference. Let’s take a look at Xiaobian.
RGBA () is the new attribute of CSS3, so IE8 and the following browsers are not compatible, what should I do? I finally found a solution.
Let’s explain the following RGBA
RGBA meanings, R represents RED, G represents Green, b represents Blue, A represents transparency.
RGBA (0, 0, 0 ,.5) represents black, transparency 0.5
To solve transparency issues under IE8, you can add such a sentence:
FILTER: PROGID: DXIMAGETRANSFORM.MICROSOFT.GRADIENT (STARTCOLORSTR = # 7F000000000000000000000000); / * IE8 support * /
This sentence It is made of progressive, but there is no gradient effect here, so StartColorstr and EndColorstr are set to the same color.
The # 7f000000, #
000000 represents the color, the following is the corresponding table of transparency:
Thank you for reading! Regarding IE8 is not compatible with RGBA (), you will share it here, I hope that the above can help everyone, let everyone learn more. If you feel that the article is good, you can share it out to let more people see it!