For a long time, browser transparency has been unable to achieve pure color transparency. Every time alpha is used, the transparent attribute will be inherited to the child node. In other words, it is difficult to achieve the effect of transparent background color and opaque text. Until the emergence of RGBA color, this will become a reality.
It is very simple to achieve this effect. When setting the color, we can use the standard rgba() unit, such as rgba(255,0,0,0.4). This will produce a red color with an alpha transparency of 0.4.
After testing, Firefox 3.0 Safari 3.2 Opera 10 all support rgba units. Unfortunately, our IE series, including IE8, do not yet have good support. If IE does not speed up the pace here, it will soon lose this browser. war...