RGBA () is a new attribute of CSS3, so IE8 and below browsers are not compatible. What should I do? I finally found a solution.
SolutionLet's first explain the following RGBA
RGBA:The meaning of RGBA, R represents Red, G represents Green, B represents Blue, A represents transparency.
RGBA (0,0,0, .5) represented black with transparency 0.5
If you want to solve the transparency problem under IE8, you can add such a sentence:
Filter: Progid: dximageTransform.microsoft.gradient (StartColorsstr =#7F000000, Endcolorsstr =#7F000000);This sentence was originally used, but there is no gradient effect here, so StartColorsstr and Endcolorsstr are set to the same color.
The# 7F000000 here,# 7F represents transparency, 000000 represents color, below is the corresponding table of transparency:
The above problem that is not compatible with RGBA () in the perfect solution is all the contents of the editor shared with you. I hope to give you a reference, and I hope that everyone will support VEVB Wulin.com.