Skip to content

Instantly share code, notes, and snippets.

@klzns klzns/fade.js
Created Dec 7, 2018

Embed
What would you like to do?
Fade effect
<div className="w-100 absolute bottom-0"
style={{
background: 'linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)',
maxHeight: '50px',
height: '100%',
pointerEvents: 'none',
}}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.