A css-based parallax background to be used with react
npm install react-css-parallax> A css-based parallax background to be used with react
 
``bash`
npm install --save react-css-parallaxFeatures
- [x] Relies on backgroundAttachmentfixed
- [x] Supports to disable the parallax effect
- [x] Simple, customizable api
- [x] Adds underlying, hidden img tag when alt is present
- [x] Supports passProps
`jsx
import React, { Component } from 'react'
import Parallax from 'react-css-parallax'
class Example extends Component {
render () {
return (
)
}
}
``
MIT © kevinrodriguez-io