This article mainly introduces the simple implementation method of transparent text on the ie7 + background. If you need it, you can refer to it. If you are still worried about the opacity of transparent text on the background, we suggest you take a look. Of course, IE6 has been abandoned, so do not say that the PNG8 image is ineffective in IE6. Of course, you can also use a filter. I do not recommend using filters. This may cause other problems! (Such as being unable to click) the BUG, especially ie6. Run IE6!
The core of this article is to use the PNG32 transparent image as the background and then tile the background. In this way, no background transparent text is transparent. This is a simple task!
You only need to adjust the transparency of the image.
In the PSD, set the image transparency to 20% and save it as png.
(Do not set the mode to grayscale. This will change to png8. And there is no transparency .)
The background is transparent and the text is not transparent. Haha. Internet Explorer 6! Supported: IE7.0 +/FF3.0 +/Opera10 +/Chrome/Safari. All tests passed.
As follows:
The complete code is as follows:
The Code is as follows:
Ie7 + is a simple method with transparent background and text opacity
The background is transparent and the text is not transparent. Haha. IE 6.
Supported:
IE7.0 +/FF3.0 +/Opera10 +/Chrome/Safari
All tests passed. Transparency: 20%
The background is transparent and the text is not transparent. Haha. IE 6.
Supported:
IE7.0 +/FF3.0 +/Opera10 +/Chrome/Safari
All tests passed. Transparency: 20%