isBreakpointEnabled( $device ) ) { $this->offsetX = $this->{$device}->offsetX ?? $this->offsetX; $this->offsetY = $this->{$device}->offsetY ?? $this->offsetY; $this->blur = $this->{$device}->blur ?? $this->blur; $this->spread = $this->{$device}->spread ?? $this->spread; $this->color = $this->{$device}->color ?? $this->color; $inset = !empty($this->{$device}->inset) ? 'inset ' : ''; $css[$device][self::NAME] = $inset . $this->offsetX . "px " . $this->offsetY . 'px ' . $this->blur . 'px ' . $this->spread . 'px ' . $this->color; } elseif( $this->isBreakpointDisabled( $device ) ){ $css[ $device ][ self::NAME ] = "none"; } } return $css; } }