Skip to content

feature request: a new prop "style" for the layers in the ParallaxBanner component #81

Closed
@itenisz

Description

@itenisz

Feature Request

Describe the feature or behavior you would like to add considering the following:

Greetings!

In the case of ParallaxBanner component, there should be a new layer prop to set custom css style for an image. Currently this is is only for the ParallaxBanner component which is apply to 'parallax-banner' div, but that style dosent do anything on the layer div which is 'parallax-banner-layer-0'.

  • Why would this new feature or change be useful?

In my case I tried to setup a background-color rgb overlay with opacity over the image, but the main style applies for the main component div.

With the new style prop on the image would be possible to set css directly on the image div, and use different styles for different images.

Proposed Changes

Need a new 'style' prop on the layer images, which exactly the same as the main component style prop.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions