div-shadow

Element shadow.

JSON

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

Parameters

ParametersDescription
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.

offset

object

Required parameter.

Shadow offset.

The value has the type div-point.

ParametersDescription
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.

offset

object

Required parameter.

Shadow offset.

The value has the type div-point.