Use a style sheet to implement the transparency of the decimal cell background color

xiaoxiao2021-03-06  40

Alpha filter // css example. Menu {Background: # 3399ff; Width: 100; Height: 300; Filter: alpha (Opacity = 80, finishopacity = 0, style = 1, startx = 70);} Syntax: {Filter: Alpha (Opacity = Opacity, Finishopacity = Finishopacity, Style = style, startx = startX, starty = starty, finishx = finishx, finishy = finishy)} "alpha" attribute is to mix a target element with the background. Designers can specify a value to control the extent of mixing. This "mixed with the background" is a transparency of an element. By specifying the coordinates, the transparency of the point, line, and face can be specified. Their parameters meanings are as follows: "Opacity" represents the transparency level. The default range is from 0 to 100, they are actually a percentage form. That is, 0 represents completely transparent, and 100 represents completely opaque. "Finishopacity" is an optional parameter. If you want to set a transparent effect of gradient, you can use them to specify the transparency at the end. The range is also 0 to 100. The "style" parameter specifies the shape characteristics of the transparent area. One represents a unified shape, 1 represents the line shape, 2 represents the radiation, and 3 represents the rectangular. "StartX" and "Starty" represent the start X and Y coordinates of the gradient transparent effect. "Finishx" and "Finishy" represent the coordinates of X and Y in the gradient transparent effect.

转载请注明原文地址:https://www.9cbs.com/read-86243.html

New Post(0)