Radial-gradient: Radial gradient
ellipse: Ellipse gradient default, circle: Circular gradient Defines the gradient size, specifying the end position: Farthest-corner: Default, Specifies the radius length of the radial gradient: from the center point to the farthest corner
from the center closest-side: from the center to the nearest edge of the center Closest-corner: from the center point to the nearest corner of the center farthest-side: from the center to the farthest edge from the center at: Specify the starting point location Linear-gradient: Linear Gradient Use transparency: the last parameter in the RGBA (,,,)
function can be a value from 0 to 1, which defines the transparency of the color, 0: Completely transparent, 1: completely
opaque rgba () and Hsla ()
R Gba:red-green-blue-alphahsla:hue-saturation-lightness-alpha (hue, saturation, brightness, transparency) you can use both of the two color modes in CSS3 to set their transparency while setting the color , Alpha stands for transparency in RGBA mode: The first three parameters range: 0-255, or 0%-100%;hsla mode: The first three parameters represent Hue (0-360), saturation (0%-100%), Brightness (0%-100%)
CSS3 gradients, Rgba and Hsla