Rendering:
<\/p>
<\/p>
1. Set the background color to be transparent through background and opacity <\/strong><\/p> The attribute value in the background attribute is relatively simple, so I won’t go into details here. Let’s take a brief look here. Opacity attribute<\/p> The \"opacity\" of the opacity attribute parameter is represented by a number, ranging from 0.0 to 1.0. Fully transparent is 0.0, and fully opaque is 1.0. In other words, the larger the number, the more opaque the element is. <\/p> In addition to the \"opacity\" parameter, there is also inherit to inherit the parent layer properties. However, browser support is poor and it is not recommended to use it. <\/p> After reading the introduction of the two attributes, let's look at the specific example of setting the background color transparency through backgroud and opacity<\/p> The code is as follows: <\/p>\n\n\n\t\n\t\t\n\t\t