div-shadow

Element shadow.

Parameters

Parameters Description
offset

object

Required parameter.

Shadow offset.

The value has the type div-point.

alpha

number

Shadow transparency.

Restriction for the value x: x >= 0.0 && x <= 1.0.

Default value: 0.19.

blur

int

Blur intensity.

Restriction for the value x: x >= 0.

Default value: 2.

color

string

Shadow color.

Valid formats: #RGB, #ARGB, #RRGGBB, #AARRGGBB.

Default value: #000000.

JSON
{
  alpha: "number",
  blur: "int",
  color: "string",
  offset*: {
    x*: {
      unit: "string",
      value*: "number"
    },
    y*: {
      unit: "string",
      value*: "number"
    }
  }
}
Previous
Next