Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content inside element having a background image must not be blurred. How to achieve this? #115

Open
Praneetha-CK opened this issue Nov 29, 2018 · 1 comment

Comments

@Praneetha-CK
Copy link

Content inside element having a background image must not be blurred. How to achieve this?
<ProgressiveImage
src={image1}
placeholder={image1X60}
style={{
height: 600,
backgroundSize: 'contain',
backgroundPosition: 'center center',
}}

Some content

"Some content" text inside also gets blurred out which is not the desired behaviour.

@mattrabe
Copy link

mattrabe commented Feb 7, 2019

Move your text component outside of the ProgressiveImage component and move it back up with CSS. Or remove the blur altogether

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants